Community Profile

photo

Matt Dickson


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
Can anyone please tell me how to use FIND block in simulink?
Not sure how you're trying to use it, but it behaves more or less like the find command in MATLAB. <https://www.mathworks.com/he...

presque 6 ans il y a | 0

A répondu
How to skip an input in a loop when an error is raised and continue with the next input of the loop?
You should make your loop code inside a try/catch block and catch the error. It would look like for i = 1:100 % whatever ...

presque 6 ans il y a | 0

| A accepté

A répondu
how can I use a while loop for LCM?
To do it iteratively as you laid out, you'd have something like function [leastCommon] = lcm(a,b) a1 = a; b2 = b; ...

presque 6 ans il y a | 1

A répondu
How to run python code in matlab?
The MATLAB Answers <https://www.mathworks.com/matlabcentral/answers/153867-running-python-script-in-matlab here> discusses how t...

presque 6 ans il y a | 0

A répondu
Obtain initial data type from cell array if I stored functions in the cell array
To get the value out of the cell by index, use curly brackets to index. For example: foo = {'bar' 'baz'}; a = foo(1) % a...

presque 6 ans il y a | 1