Community Profile

photo

john white


Last seen: environ 3 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 1 réponse | 0

0

réponse

A répondu
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(...

environ 3 ans il y a | 0

| A accepté

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

presque 5 ans il y a | 1 réponse | 0

0

réponse

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

presque 5 ans il y a | 1 réponse | 0

0

réponse

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

presque 5 ans il y a | 1 réponse | 0

0

réponse

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

presque 5 ans il y a | 1 réponse | 0

0

réponse

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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


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

environ 5 ans il y a | 1 réponse | 0

0

réponse

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

environ 5 ans il y a | 1 réponse | 1

0

réponse

Question


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

environ 5 ans il y a | 1 réponse | 2

0

réponse

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

environ 5 ans il y a | 2 réponses | 0

2

réponses

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?

environ 5 ans il y a | 1 réponse | 0

0

réponse

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

environ 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 1 réponse | 0

0

réponse

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

environ 5 ans il y a | 1 réponse | 0

0

réponse

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

plus de 5 ans il y a | 2 réponses | 0

2

réponses

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

plus de 5 ans il y a | 3 réponses | 0

3

réponses

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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

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

presque 6 ans il y a | 1 réponse | 1

0

réponse

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

environ 6 ans il y a | 1 réponse | 0

0

réponse