x = [0:0.01:2*%pi];
à la ligne 39 de la fonction modulo ( C:\Program Files\scilab-6.0.2\modules\elementary_functions\macros\modulo.sci ligne 54 )
à la ligne 80 de la fonction plot ( C:\PROGRA~1\SCILAB~1.2\modules\graphics\macros\plot.sci ligne 93 )
Can anyone be so kind to tell me why scilab crashes here ?
thks in advance
Scilab Not Spam Edit Delete
What i am wanting to do is simple but I just can't get it to work. Basically I am reading values from a ToF (time of flight (basically distance measuring)) sensor on the arduino and I want to use these values in code I already have in matlab.
I have two solutions, either create the code for reading the sensor in matlab (I have looked everywhere online an cant find a matlab version, however, could find python and arduino code). The issue with this is I genuinely have no idea how to do this so it would be very difficult to do so.
The other solution is to try to read the values from the arduino software in matlab and then use these figures to do what I want. This is the solution I have attempted however, the code which I have been using seems to not display the expected values.
I need values from the serial monitor in arduino to be read and then displayed as an input in matlab. I was wondering if anyone had needed to do this before and maybe had code for this.
Finest blog!I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
I wanted to thank you for this websites! Thanks for sharing. Great websites!
We are not getting the same error. The plot works correctly. Here are some possibilities for you:
1. Mismatch in variables: Though the program shows plot(x), the error message reads plot(t). Please check if the same variable is being used at both places.
2. Check the value of x. See if it is a big array of 629 entries. You could also run:
Hope that helps.