Question

How matlab converts data from linear scale to log scale?

Hi. I plot the figure from column 2 (as x) and column 6 (as y) in excel file in linear and log scale. Why 1500 in linear scale ...

22 days ago | 1 answer | 0

Question

change position of axes in plot3d?

Hi. when i use plot3d the locations of axes are as shown in screenshot 167. How can i change them like screenshot 170 ? Thanks...

1 year ago | 1 answer | 0

Question

Compare two or more cell arrays with a specific tolerence?

Hi. I have a cell array with length 3 : M_t={{[0,1],[0 0 2]},{[0,1.01],[0 0 2]},{[0,1],[0 .001 2]}}; I want to compare these ...

1 year ago | 1 answer | 0

Question

How to check if there is any field in structure?

Hi. I have a structures with no field and want to check is there any field in it or no? L1=struct(); isempty L1 the result i...

1 year ago | 2 answers | 1

Question

Update field value in structures?

Hi. I have structure L with field L0. L0 has two fields:H0 and H1. H0=struct('h',[0,0],'Q_centroids',[-5,0,5,0],'Q_actions',[1...

1 year ago | 1 answer | 0

Question

Compare class type of two variables?

Hi. I want to check the h class and then if is cell print something.I write the code: L0={[0,0],[0,0],[.5,.51,.5,.51,.5,.51],[...

1 year ago | 1 answer | 0

Question

access data in nested arrays in a structure?

Hi. I want to calculate r through structure L: L=struct('L0',{{[0,0],[0,0],[.5,1,2,3,5,4],[0]},{[0;1],[0,2],[-4,1,2,3,5,10],[2...

1 year ago | 1 answer | 0

Question

access data in structure?

Hi. I store some data in structure : H0=struct('h',[0,0],'Q_centroid',[0,0],'Q_action',[.5,.51,.5,.51],'Q_table',[0]); H1=str...

1 year ago | 1 answer | 0

Question

Error using horzcat Dimensions of arrays being concatenated are not consistent?

hello. i solve some differential equation with ode45. The answers are correct and there is no error.because i want to show some...

1 year ago | 1 answer | 0

Question

when i use tripleangle command in matlab it doesnot answer?

hi.i have installed robotics toolbox recently.when use commands from robotics,vision and control (peter corke) it is correct but...

2 years ago | 2 answers | 0

Question

when i run the simulation it hungs?

hi. when i run the simulation which is attached it hangs. there is no error and i do not know what is the problem. (matlab versi...

2 years ago | 1 answer | 0

Question

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space error in matlab?

hi. when I run my m file and then copy generated function to paste it is a Simulink block there is this error: at com.mathwo...

2 years ago | 1 answer | 0

Question

when i use matlabFunction command matlab takes a long time to run it and then hangs?

hi. I run the m file which is attached without 198 line(197 and 199 lines are in code) and matlab works correctly but when I add...

2 years ago | 1 answer | 0

Question

how can i import data from mat file to simulink?

Hello. I have a simple simulation: a matlab function block, clock(t as an input),scope and a from file block. acos [variable nam...

2 years ago | 1 answer | 0

Question

What should we do when Text exceeds maximum line length for Command Window display in matlab?

hi.I want to run the MFILE and (see D matrix) which is attached but there is an error : Text exceeds maximum line length for ...

2 years ago | 2 answers | 0

Question

This function does not fully set the dimensions of output port 2 error in matlab?

hi. I simulated impedance control for ur10.but there is an error: Error in default port dimensions function of S-function 'im...

2 years ago | 2 answers | 0

Question

keep just positive or just negetive answer of acos?

I have arccos and I want to keep just negative answer of it? how can I do it?(there are two answer)

2 years ago | 1 answer | 0

Question

'Domain error. To compute complex results from real x, use 'acos(complex(x))' error in matlab?

hi.i want to simulate ur10 inverse kinematic and I did it.while running there is this error: Domain error. To compute complex...

2 years ago | 1 answer | 0

Question

undefined function or variable error in matlab simulink?

hi.i want to simulate ur10 kinematic(inverse and forward) but when I run I have these errors(screenshot which is attached). the ...

2 years ago | 1 answer | 0

Question

plot function in matlab?

I want to plot qi=q0+3*(qf-q0)*t^2-2*(qf-q0)*t^3 as defined in the picture.i use plot or ez plot but the figure that is drawn is...

2 years ago | 1 answer | 0

Question

how can i download and install LMI toolbox?

hi. I want to install LMI toolbox but I can not download it? from where I can download it?

2 years ago | 1 answer | 0

Question

how can i assign values to symbolic matrix?

hi. I have the matrix B in symbolic form and I want to calculate it for different values and assign different symbols to it? wha...

2 years ago | 1 answer | 0

Question

error in syms line 56?

hi. I want to run syms x(t) but there is this error: error using assignin(invalid variable name x(t) in assigne error i...

2 years ago | 1 answer | 0

Question

Missing symbol 'mxArrayClassIDName' in 'D:\matlab/bin/win64\libmx.dll' error?

I want to open a mexw64 file in matlab but there is these errors: Invalid MEX-file Missing symbol 'mxArrayClassIDName' in 'D:\...

2 years ago | 1 answer | 0

Question

how to fix Cannot find an exact (case-sensitive) match for 'link' error ?

hi.i want to creat ur10 in matlab .I use this code: function URrobot = UR_robot() offset = [0 0 0 0 0 0]; ...

2 years ago | 1 answer | 0

Question

Generating discrete values in simulink

Hello. I want to generate this signal in Simulink: c=0:.001:1; h=3; x_0=0; x_d=x_0 + h*(c-sin(2*pi*c)/(2*pi)); but I don't ...

2 years ago | 1 answer | 0

Question

open stepfile-matlab-Not enough input arguments error?

Hello. I want to open a step file in matlab. first I import data then generate function but there is "Not enough input arguments...

2 years ago | 1 answer | 0