john white
Followers: 0 Following: 0
Feeds
질문
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 ...
거의 4년 전 | 답변 수: 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 ...
거의 4년 전 | 답변 수: 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(...
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(...
거의 4년 전 | 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...
거의 4년 전 | 답변 수: 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...
거의 4년 전 | 답변 수: 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; ...
거의 4년 전 | 답변 수: 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 =...
거의 4년 전 | 답변 수: 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...
거의 4년 전 | 답변 수: 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)...
거의 4년 전 | 답변 수: 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...
거의 6년 전 | 답변 수: 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 ...
거의 6년 전 | 답변 수: 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...
거의 6년 전 | 답변 수: 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 : ...
거의 6년 전 | 답변 수: 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