Hello.
For some reason Matlab thinks that I'm calling a function but I don't want it to. What I would like it to do is plot the points on a graph. Heres an image of what its saying.

 採用された回答

Walter Roberson
Walter Roberson 2020 年 6 月 12 日

0 投票

ADC_readings = [21, 21,21, 22, 22, 22 etc];
You were using () instead of [] to try to construct a list.

3 件のコメント

Morne' Breitenbach
Morne' Breitenbach 2020 年 6 月 12 日
I want to divid each of those readings by 819.2 thats why there are round brackets if you scroll to the left in the image above you will be able to see.
I put [ ] brackests around, like this [( 21, 21...etc)/819.2]. and it gives the same error. How would I be able to divide each of those readings? Because from then on I think I will be fine.
Walter Roberson
Walter Roberson 2020 年 6 月 12 日
ADC_readings = [21, 21,21, 22, 22, 22 etc] ./ 819.2;
Morne' Breitenbach
Morne' Breitenbach 2020 年 6 月 12 日
Thanks it works,

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by