フィルターのクリア

Incorrect number of inputs or outputs for function linspace

2 ビュー (過去 30 日間)
Tanveer Islam
Tanveer Islam 2023 年 6 月 5 日
コメント済み: Torsten 2023 年 6 月 5 日
  8 件のコメント
Tanveer Islam
Tanveer Islam 2023 年 6 月 5 日
Doesnt work :/
Torsten
Torsten 2023 年 6 月 5 日
You should follow Walter's advice.

サインインしてコメントする。

回答 (1 件)

chicken vector
chicken vector 2023 年 6 月 5 日
Even if it is a matter of personal taste, for unit steps I usually prefer to do:
z1 = 1 : 100;
Nontheless, this should also work:
z2 = linspace(1, 100);
isequal(z1, z2)
ans = logical
1
Are you sure didn't create a function called linspace?
Have you tried to reset the path and clear the Workspace?
Try to restart Matlab and run it again.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by