I need access to a glossary of math syntax usable by me and my level of subscription.

Shore 2023 年 2 月 8 日 (編集日時: 2023 年 2 月 8 日)
最新アクティビティ Shore さんによる編集 (2023 年 2 月 8 日)

My learning is progressing well. I borrow heavily on examples given on this site. I need to know the correct commands for coding in Matlab analysis. For a simple example, what is the correct code symbol for multiplication? Yes, I know it is (a)*(b). But, is there a glossary of all such? For another example, I tried to generate a random number in Matlab analysis by writing: mu = 1; sigma = 5; rannum = Random (‘Normal’, mu, sigma)

But when I run this code I get the following error message: .....

“random” requires access to one of the following...

Sim Biology or

Statistics & Machine Learning Toolbox...

So, in summary, does my subscription allow such access and/or how do I learn the syntax Matlab requires for code operations?

Thanks.

Shore
Shore 2023 年 2 月 8 日 (編集日時: 2023 年 2 月 8 日)

Fixed! Thanks. I read your literature recommended.

I changed code to:

X = rand

rannum = (X)*(100)

% that gives me 0 to 100 possible......

Works without error!

Christopher Stapels
Christopher Stapels 2023 年 2 月 8 日
Best way to learn MATLAB is the MATLAB onramp.
Here is a great page about random numbers in base MATLAB (all available in ThingSpeak)
All of base MATLAB is available with the free ThingSpeak license. If you purcahse a MATLAB license, you can use additional MATLAB toolboxes in your ThingSpeak code.
If you end up on a MATLAB function reference page, you can tell if it is a function in base MATLAB in at least two ways. First, the left navigation will show you where you are in the hierarchy.
Second, the URL will indicate the toolbox. i.e
is in stats, like you found, but
is in base MATLAB.