# john white

**Statistics**

RANK**7,588**

of 250,411

REPUTATION**4**

CONTRIBUTIONS

**28** Questions

**1** Answer

ANSWER ACCEPTANCE **
25.0%
**

VOTES RECEIVED**3**

RANK

of 17,398

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 104,095

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

12 months ago | 1 answer | 0

### 1

answerQuestion

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

12 months ago | 0 answers | 0

### 0

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

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

12 months ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

1 year ago | 1 answer | 0

### 1

answerQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

2 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

several arduino boards in simulink area

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 0 answers | 1

### 0

answersQuestion

rotary encoder in simulink

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

3 years ago | 0 answers | 1

### 0

answersQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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?

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 1 answer | 0

### 1

answerQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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

3 years ago | 3 answers | 0

### 3

answersQuestion

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

3 years ago | 0 answers | 0

### 0

answersQuestion

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

3 years ago | 0 answers | 1

### 0

answersQuestion

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

4 years ago | 0 answers | 0