![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/4613496_1522103201617_DEF.jpg)
Nick
URI
Followers: 0 Following: 0
Feeds
已回答
Blink LEDs using arduino!!
Hi You can use num2str() and change the number during every loop. I tested using Matlab R2016a with this code and LEDs hooked...
Blink LEDs using arduino!!
Hi You can use num2str() and change the number during every loop. I tested using Matlab R2016a with this code and LEDs hooked...
7 years 前 | 0
| 已接受
已回答
Trouble using while loop
You are setting i = 0 and then trying to access tempv[0]. In matlab indexing starts with 1 not 0.
Trouble using while loop
You are setting i = 0 and then trying to access tempv[0]. In matlab indexing starts with 1 not 0.
7 years 前 | 0
已回答
Output variables and text to .txt file
Hi, take a look at this from the file exchange <https://www.mathworks.com/matlabcentral/fileexchange/25387-write-cell-array-t...
Output variables and text to .txt file
Hi, take a look at this from the file exchange <https://www.mathworks.com/matlabcentral/fileexchange/25387-write-cell-array-t...
7 years 前 | 0
| 已接受
已回答
How do I format data to send data using udp
Hi try this. This code will send the str that you define to a python client listening on that port when you run the code. The ma...
How do I format data to send data using udp
Hi try this. This code will send the str that you define to a python client listening on that port when you run the code. The ma...
7 years 前 | 0
已回答
I want to create a program that will ask the user 3 times for there firstname, lastname and number, and then store all the results within a matrix or array. So far I can only get it for the last result. Thankyou
Someone might have a better or more efficient way of doing this, but I would use a cell array and a for loop and assign it that ...
I want to create a program that will ask the user 3 times for there firstname, lastname and number, and then store all the results within a matrix or array. So far I can only get it for the last result. Thankyou
Someone might have a better or more efficient way of doing this, but I would use a cell array and a for loop and assign it that ...
7 years 前 | 1
| 已接受
已回答
How can i send my number plate data(e.g. GJ1XX1111) from MATALAB to arduino?
Hi try this Arduino code: #include <String.h> String str; void setup() { Serial.begin(9600); ...
How can i send my number plate data(e.g. GJ1XX1111) from MATALAB to arduino?
Hi try this Arduino code: #include <String.h> String str; void setup() { Serial.begin(9600); ...
7 years 前 | 0
| 已接受
已回答
Matlab and Arduino serial data
Hi try adding a pause of a few seconds after you initialize the serial port. When you initialize the serial port on the Arduino,...
Matlab and Arduino serial data
Hi try adding a pause of a few seconds after you initialize the serial port. When you initialize the serial port on the Arduino,...
7 years 前 | 1
已回答
Prompt user to load data file
Take a look at <https://www.mathworks.com/help/matlab/ref/uigetfile.html> it might be what you are looking for. You can filter b...
Prompt user to load data file
Take a look at <https://www.mathworks.com/help/matlab/ref/uigetfile.html> it might be what you are looking for. You can filter b...
7 years 前 | 1
| 已接受
已回答
Real time plot for 4 sensor data
Hi I've attached code that I have used in the past to graph values from the Arduino, it should get you started. It should be not...
Real time plot for 4 sensor data
Hi I've attached code that I have used in the past to graph values from the Arduino, it should get you started. It should be not...
7 years 前 | 0
已回答
how to plot the real time data from arduino in matlab.
Hi this is some old code I have that will plot the Arduino's analogread output. It will read continuously until it is stopped. I...
how to plot the real time data from arduino in matlab.
Hi this is some old code I have that will plot the Arduino's analogread output. It will read continuously until it is stopped. I...
7 years 前 | 1
| 已接受
已回答
Plotting Data Continuously From Arduino Serial
This is an old code I had before Arduino had a support package so I'm getting data from the Arduino a different way but this wil...
Plotting Data Continuously From Arduino Serial
This is an old code I had before Arduino had a support package so I'm getting data from the Arduino a different way but this wil...
7 years 前 | 1
已回答
How do I select and/or delete values of a certain index in an array?
This is how you would extract the data to a new array %Generate random numbers for Example OrbSolPwr = randi(10,2880,1);...
How do I select and/or delete values of a certain index in an array?
This is how you would extract the data to a new array %Generate random numbers for Example OrbSolPwr = randi(10,2880,1);...
7 years 前 | 0
| 已接受
已回答
how can i write a matlab code to a multple choice question having multiple answers?? say i have to pick out A,B,C,E but excluding D. so far i have this below...
answer = 'n' while(answer ~= 'd') in = input('Get input: ','s'); switch lower(in) case 'a' ...
how can i write a matlab code to a multple choice question having multiple answers?? say i have to pick out A,B,C,E but excluding D. so far i have this below...
answer = 'n' while(answer ~= 'd') in = input('Get input: ','s'); switch lower(in) case 'a' ...
9 years 前 | 1
| 已接受
已回答
How can pick a specific values (rows,columns) from a matrix?
if a = rand(10,10) if you want 4 rows and 5 columns you can do a([1:4],[1:5]) and it will give you the first 4 rows and 5 col...
How can pick a specific values (rows,columns) from a matrix?
if a = rand(10,10) if you want 4 rows and 5 columns you can do a([1:4],[1:5]) and it will give you the first 4 rows and 5 col...
10 years 前 | 0
| 已接受
已回答
Plotting trajectory in 2D
Inside your function you are calling your function.You are also redefining the parameters you are sending to your function Vo, t...
Plotting trajectory in 2D
Inside your function you are calling your function.You are also redefining the parameters you are sending to your function Vo, t...
10 years 前 | 1
| 已接受