How can I make an array with a function that defines every element?
for i=1:lenth(theta_i) y(i)=1/i; end

5 years ago | 0

cannot get the title and xlabel plotted in a while loop
Give error message. Y = -(axis(joy, 2)); it should be, Y = -(axis([joy, 2]));

5 years ago | 0

Solving differential equation in matrix form.
<http://in.mathworks.com/help/symbolic/solve-a-system-of-differential-equations.html>

5 years ago | 0

How to resolve an optimization problem related to setpath?
May be, you don't have admin rights. Put your all codes in current folder. Try, it may work. All the best !!

5 years ago | 0

How to solve differential equation system?
Try doc ode45 in matlab command. You will get examples.

5 years ago | 0

"Limitations" for DARE function
Try edit dare. You will able to see dare code. Refer, References [1] Arnold, W.F., III and A.J. Laub, "Generalized ...

5 years ago | 0

play at double speed
I think, not possible.

5 years ago | 0

symbolic math undefined function
Dear Jomichan, Check that you don't have script or file name plus in your current folder. I think, this could be reason....

5 years ago | 0

A problem in printing EPS figures
Try this print -depsc2 nameoffigure.eps

5 years ago | 0

| accepted

how to to train an artificial neural network using ant colony optimization algorithm
Do following things, 1. Define cost function for training, may be mean square error (MSE) 2. Use algorithm <https://in.ma...

5 years ago | 0

text hiding inside the cover image
After I1 = logical(de2bi(uint8(hiddenstring))); Please, check size of I1 to I7. Make sure that all must have same dimensi...

5 years ago | 0

Question

I want to design some controller. I want to design block of cos(b*ln(1/s))*(1/s). How can I do the same? Thanking You,

6 years ago | 1 answer | 0

### 1

Question

How do I use IOT using Simulink?
Dear All, We are getting real-time data using TCP/IP protocol. We intend to use IOT(Internet of Things) to read data from ou...

6 years ago | 0 answers | 0

### 0

This is my Matlab Script file. Whenever,I run the script, it shows runtime error. What is the error in this script? Thanks
In symbiolic, you can not plot until you simply that expression for different values.

6 years ago | 0

problem with .mat to .vtk format
In file exchanger, the code is available. Please check following link http://www.mathworks.com/matlabcentral/fileexchange/23416-...

6 years ago | 1

Question

How to plot Bode diagram from input and output data
I want to plot bode diagram from input and output data. Also, I should able to change frequency range and amplitude should be in...

6 years ago | 3 answers | 0

### 3

Uiimport undefined variable error
Check file location. Easy, put that file in current folder of MATLAB.

7 years ago | 0

Question

Serial Communication in GUI
Hi, I have connected serial object in GUI and data is coming in text field in GUI. I want that this data should refresh in 1...

8 years ago | 1 answer | 0

### 1

Question

Modbus Communication Serial with MATLAB
Hi All, We have done serial communication of modbus with MATLAB. We are able to fatch data from modbus protocol. But, w...

8 years ago | 0 answers | 0

### 0

how to combine time series in matlab
[ACC.Time ACC.Data Gyr.Time Gyr.Data] should work

8 years ago | 0

Best way to acess external config data (load mat file vs import data vs fscanf etc. )
I think, You may try *tic* and *toc* command to find out optimal solution for your case.

8 years ago | 0

Question

3d contour plot in MATLAB
Hi, I want to plot 3D contour in MATLAB. I have three dimensions (X, Y,X) and value of each value in specific grid. Plea...

8 years ago | 1 answer | 0

### 1

Question

Modbus communication for CRC
Dear Sir, We want to do communication of PLC through MODBUS in MATLAB. We are going to use CRC (Cyclical Redundancy Check)...

9 years ago | 0 answers | 0

### 0

need function to save my data
Use save function to store variables. Help save Enjoy !!

9 years ago | 0

Using an empty matrix as an Index
x = [3,4]; y = find(x = 0); % returns an empty matrix i(y) = 0; It should be == instead of = y = find(x == 0); % returns an ...

9 years ago | 0

Fibonacci with Neural Network
Hi, I think you have to use different NN Network. Please understand that for the different op we have different Input. T...

9 years ago | 0

how can i sort a matrix (all rows and columns are sorted) without using any special function like "sort"?
Simple Solution A = [2 3 4 5; 6 9 1 5] A = 2 3 4 5 6 9 1 5 >> sort(min(A)) ans...

9 years ago | 0