k=1;201;
古いコメントを表示
採用された回答
その他の回答 (1 件)
Matt Fig
2011 年 3 月 1 日
It means: set the variable k to equal 1, then set the variable ans to 201, displaying nothing.
You can see this by executing these lines at the command window:
clear all,clc
k=1;201;
whos
k
ans
Now, if you had put this:
k=1:201; % Note the colon.
that would mean: set the variable k to a vector of length 201 with the elements 1 through 201, inclusive.
カテゴリ
ヘルプ センター および File Exchange で Operators and Elementary Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!