John Wirzburger
Followers: 0 Following: 0
G&C Designer
Feeds
已回答
For loop checking if number is prime (without using MATLAB functions)
It appears that it has to do with when you set y2. In short, you are only reporting back the y2 value when i=ceil(x2/2).
For loop checking if number is prime (without using MATLAB functions)
It appears that it has to do with when you set y2. In short, you are only reporting back the y2 value when i=ceil(x2/2).
4 years 前 | 0
已回答
My output in the workspace is a 1x1 dataset after I use the out block in Simulink
The data should be stored in the dataset, but must be retrieved, using a function such as getElement. I suggest looking at this...
My output in the workspace is a 1x1 dataset after I use the out block in Simulink
The data should be stored in the dataset, but must be retrieved, using a function such as getElement. I suggest looking at this...
8 years 前 | 0
已回答
how to only have a certain amount of numbers in an input of as many characters and number that the user wants
If they must enter exactly 10 numbers and any number of characters, I would change your code to prompt = 'Enter at least 10...
how to only have a certain amount of numbers in an input of as many characters and number that the user wants
If they must enter exactly 10 numbers and any number of characters, I would change your code to prompt = 'Enter at least 10...
8 years 前 | 0