Community Profile

photo

john white


Last seen: 대략 3년 전 2018년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 0 | 0

0

답변

답변 있음
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(...

대략 3년 전 | 0

| 수락됨

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

대략 5년 전 | 답변 수: 0 | 1

0

답변

질문


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

대략 5년 전 | 답변 수: 0 | 2

0

답변

질문


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

대략 5년 전 | 답변 수: 2 | 0

2

답변

질문


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?

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

대략 5년 전 | 답변 수: 2 | 0

2

답변

질문


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

대략 5년 전 | 답변 수: 3 | 0

3

답변

질문


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

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 6년 전 | 답변 수: 0 | 1

0

답변

질문


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

대략 6년 전 | 답변 수: 0 | 0

0

답변