setting length of variable
古いコメントを表示
I have three variables of varying ranges such as
a = 1:10
b = 100:4000
c = 1:4
Is there a way to make sure no matter what the range for a,b,and c are, they have the same number of elements in each array
採用された回答
その他の回答 (1 件)
Kazeem Issa
2019 年 2 月 13 日
0 投票
Yes
Use linspance(a,b,n)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!