Answered

How can I make an array with a function that defines every element?

for i=1:lenth(theta_i) y(i)=1/i; end

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

Answered

How to store different results of for loop in same or different arrays, avoiding the overwriting of the results? (in MATLAB R2013b)

A(i), use can use, for i=1:10 A(i)=... end

How to store different results of for loop in same or different arrays, avoiding the overwriting of the results? (in MATLAB R2013b)

A(i), use can use, for i=1:10 A(i)=... end

5 years ago | 0

Answered

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]));

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

Answered

Solving differential equation in matrix form.

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

Solving differential equation in matrix form.

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

5 years ago | 0

Answered

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

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

Answered

How to solve differential equation system?

Try doc ode45 in matlab command. You will get examples.

How to solve differential equation system?

Try doc ode45 in matlab command. You will get examples.

5 years ago | 0

Answered

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

"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

Answered

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

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

Answered

A problem in printing EPS figures

Try this print -depsc2 nameoffigure.eps

A problem in printing EPS figures

Try this print -depsc2 nameoffigure.eps

5 years ago | 0

| accepted

Answered

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

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

Answered

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

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

Calculate cos(b*ln(1/s))*(1/s) in simulink

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

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

Answered

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.

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

Answered

problem with .mat to .vtk format

In file exchanger, the code is available. Please check following link http://www.mathworks.com/matlabcentral/fileexchange/23416-...

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

Answered

Uiimport undefined variable error

Check file location. Easy, put that file in current folder of MATLAB.

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

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

Answered

how to combine time series in matlab

[ACC.Time ACC.Data Gyr.Time Gyr.Data] should work

how to combine time series in matlab

[ACC.Time ACC.Data Gyr.Time Gyr.Data] should work

8 years ago | 0

Answered

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.

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

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

Answered

need function to save my data

Use save function to store variables. Help save Enjoy !!

need function to save my data

Use save function to store variables. Help save Enjoy !!

9 years ago | 0

Answered

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

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

Answered

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

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

Answered

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

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

Answered

I want Solution of my program by using matlab 2008a

Problem because There are many place missing semi column at the end of sen stance.

I want Solution of my program by using matlab 2008a

Problem because There are many place missing semi column at the end of sen stance.

9 years ago | 0

Answered

need function to save my data

Just find help save and load function. If you want to save data.... Assuming that it is already available in work space....

need function to save my data

Just find help save and load function. If you want to save data.... Assuming that it is already available in work space....

9 years ago | 0