photo

john white


Last seen: nästan 4 år ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Matlab does not show the curve equation in basic fitting
Hi I have a code which I plot some datas then I want to get the equation of the plotted curve so I used basic fitting , spline ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


using smoothed data in FOR loop
hi I wrote a code in a for loop, in the code a variable is updating and another variable is effected by, the first variable is ...

nästan 4 år ago | 0 answers | 0

0

answers

Answered
doing some orders in specific time in a loop
hi every one I found the answer and I write that here maybe it be useful for others clear,clc a = 5; b = ones(2); x = zeros(...

nästan 4 år ago | 0

| accepted

Question


doing some orders in specific time in a loop
Hi I'm using this code to do some orders in a for loop, I want to measure the time in the loop and if the passed time equals t...

nästan 4 år ago | 1 answer | 0

1

answer

Question


timer output saving in excel in new column
Hi I write the code with timer function to do some calculate and I want to save the output in the excel file but I have 2 prob...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Supplied objective function must return a scalar value. ERROR in fmincon
hi I write this code and i'm using fmincon to minimize the K function, this is the code: clc; clear; close all; Ts = 0.01; ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Failure in initial objective function evaluation in FMINCON function
hi I have a code with some functions but when I run the code error is accured! the code is: clc clear all close all Ts =...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Index exceeds matrix dimensions. in for loop !
hi I'm using this code to caculate the cost function but I got this error! could you help me please function J = Cost (xi , U...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Assignment has more non-singleton rhs dimensions than non-singleton subscripts ERROR IN FOR LOOP
hi every one I have written this code But the error is showen clear,clc N = 5; A = eye(6); B = zeros(6,3); u = zeros(3,N)...

nästan 4 år ago | 1 answer | 0

1

answer

Question


change this arduino code to matlab one
Hi is it possible to change this arduino code to the matlab code please thanks #define outputA 6 #define outputB 7 int cou...

mer än 5 år ago | 0 answers | 0

0

answers

Question


reading data with serial communication between arduino and matlab problem
Hi I want to read position of encoder which is coded in Arduino program with serial communication in Matlab the code in ardui...

mer än 5 år ago | 0 answers | 0

0

answers

Question


serial and arduino command
Hi I want to read some datas with serial connection in the matlab and write some datas with arduino ,is it possible? something...

mer än 5 år ago | 0 answers | 0

0

answers

Question


arduino disconnecting with encoder
Hi I use an encoder with a dc motor on arduino uno board, it counts the pulses of the encoder correctly in the low speed but w...

mer än 5 år ago | 0 answers | 0

0

answers

Question


TimerFcn loop for arduino
hi I want to read some data from arduino with timer object and I want to read these data each 0.01 second as input datas and ca...

mer än 5 år ago | 1 answer | 0

1

answer

Question


loop in realtime arduino reading
Hi I want to read a value of the variable each 0.02 seconds I write this code: c(1)=readCount(encoder); for i=2:100 c(i)...

mer än 5 år ago | 1 answer | 0

1

answer

Question


replace new values of encoder pulses with arduino
Hi how could I write a code in m.file to replace the new pulses of encoders with arduino? actually I write a code in m.file to ...

mer än 5 år ago | 0 answers | 0

0

answers

Question


several arduino boards in simulink area
Hi is there any way to run some programs in several arduino boards in simulink?

mer än 5 år ago | 0 answers | 0

0

answers

Question


arduino simulink control dc motors
Hi I want to control 3 dc motors with encoders so I have used simulink and arduino (3arduino boards) I used matlab function bl...

mer än 5 år ago | 0 answers | 1

0

answers

Question


rotary encoder in simulink
hi is there any way to read the pulses of the encoder in simulink ?

mer än 5 år ago | 0 answers | 2

0

answers

Question


matlab function for arduino
Hi I want to use matlab function to write code for Arduino boards in the matlab function I have written this : function [coun...

mer än 5 år ago | 2 answers | 0

2

answers

Question


Simulink Arduino control dc motor
hi I want to use the simulink of matlab to control 2 dc motors with arduino , can I use matlab function to this issue?

mer än 5 år ago | 0 answers | 0

0

answers

Question


read digital pin pulses
how could I read digital pin pulses from arduino in matlab? I mean by writing readDigitalPin(a,'D4') it shows just 0 or 1 but...

nästan 6 år ago | 1 answer | 0

1

answer

Question


changing the pins in rotaryEncoder
Hi I'm using rotary encoder in my project and I know for reading the position and speed of the encoder I could use rotaryEncode...

nästan 6 år ago | 0 answers | 0

0

answers

Question


rotary encoder with arduino and matlab
hi I am using a Rotar Encoder when I want to read the count of the encoder pulses in one direction it works good but when I tu...

nästan 6 år ago | 0 answers | 0

0

answers

Question


analog Encoder in Matlab and arduino
Hi I have an encoder which it's channels are analog require, I mean these channels must be connected to the analog pins of the ...

nästan 6 år ago | 2 answers | 0

2

answers

Question


Arduino Due error in Matlab
Hi when I want to programming the arduino Due this error is showing: >> arduino Updating server code on board Due (COM10). Pl...

nästan 6 år ago | 3 answers | 0

3

answers

Question


how I could control a dc motor with monster moto shield vnh2sp30 by matlab coding?
I want to control a dc motor with monster moto shield vnh2sp30 and arduino Uno board with writting m file I used this code : ...

nästan 6 år ago | 0 answers | 0

0

answers

Question


how to convert mtimes to times?
how could I change mtimes and mpowers to times and powers ( * and ^ to .* .^) I mean the answer of my code has around 1000 num...

mer än 6 år ago | 0 answers | 1

0

answers

Question


How can I change a 3x3 matrix into several matrices which are multiple and plusing together?
I want to change a 3x3 matrix to a several matrices for example my 3x3 matrix is A and I have 3 symbolic which I want to factor ...

mer än 6 år ago | 0 answers | 0

0

answers