photo

Nick


Last seen: 2 månader ago Active since 2014

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
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...

nästan 8 år ago | 0

| accepted

Answered
Trouble using while loop
You are setting i = 0 and then trying to access tempv[0]. In matlab indexing starts with 1 not 0.

nästan 8 år ago | 0

Answered
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...

nästan 8 år ago | 0

| accepted

Answered
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...

nästan 8 år ago | 0

Answered
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 ...

nästan 8 år ago | 1

| accepted

Answered
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); ...

nästan 8 år ago | 0

| accepted

Answered
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,...

nästan 8 år ago | 1

Answered
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...

nästan 8 år ago | 1

| accepted

Answered
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...

nästan 8 år ago | 0

Answered
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...

nästan 8 år ago | 1

| accepted

Answered
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...

nästan 8 år ago | 1

Answered
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);...

nästan 8 år ago | 0

| accepted

Answered
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' ...

mer än 9 år ago | 1

| accepted

Answered
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...

mer än 10 år ago | 0

| accepted

Answered
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...

mer än 10 år ago | 1

| accepted