16 total contributions since 2016

Question

textscan replaced with textread

i have this code. in this i replaced textread with textscan and run now it's showing the errors as index exceeds matrix dimensio...

1 year ago | 2 answers | 0

Question

transfer function with denomenator as 1 simulink

I have some set of laplace equation which i neede to block in simulink. out of these equattions two of them have a denomenator...

1 year ago | 0 answers | 0

Answered

laplace transfer function block simulink

i got this i just tried givng numerator coeffcients and denomenator 1. i need some help in creating block with X mark circums...

laplace transfer function block simulink

i got this i just tried givng numerator coeffcients and denomenator 1. i need some help in creating block with X mark circums...

1 year ago | 0

Question

laplace transfer function block simulink

i have a control diagram in which there are some laplace equation with no numerator. how to put them in simulink. for example D...

1 year ago | 2 answers | 0

Question

laplace transformer block in simulink

i have a set of equations which has laplace transformer. is there any way to make a simulink model for these laplace equations.

1 year ago | 0 answers | 0

Question

passing values from m file and run simulink model

i created a simulink model and wrote am file for values of the parameters. i need help in running the model and passing those m ...

1 year ago | 0 answers | 0

Question

i have a flow equation. how to create simulink model of this equation

i have a flow equation of servo valve. i want to do mathematical modelling of this flow equation in simulink by creating a block...

2 years ago | 1 answer | 0

Question

matlab code to plot and calculate the displacemenet of links in four bar linkage

matlab code to plot and calculate the displacement of links in four bar linkage

2 years ago | 1 answer | 0

Question

i plotted a graph with three different set of values. how to specify them with manual colors and create a text box by notifying them

plot( Y2(1:21,13),Z2plot(1:21,13),Y1(1:21,13),Z1plot(1:21,13),Y(1:21,13),Zplot(1:21,13)); xlabel('\fontsize{20}X - Pixels')...

3 years ago | 1 answer | 0

Question

i have a text file with 1000 set of values having 4 different values in each set. i want o read a set of values for given specfic number

the txt file in which i attached has 2394 set of values having 4 different values in each set. i want to read a set of value for...

3 years ago | 1 answer | 0

Question

error undefined variable 'A' or class 'A'

for k = 1:299 Xsum = A{k}{:,3}; Xsum(isnan(Xsum)) = 0; Xsum=Xsum+A{k}(:,3); end after excuting get...

3 years ago | 1 answer | 0

Question

how to plot velocity profile

i have a multiple .txt files which contains several columns of velocity in xand y direction. I want to plot a velocity profile ...

3 years ago | 1 answer | 0

Answered

indexing error: ()-indexing must appear last in an index expression

% Importing all the 300 files files = dir( 'imageset1_*.txt'); for i=1:numel(files) A{i} = dlmread( files(i).piv, '\t',...

indexing error: ()-indexing must appear last in an index expression

% Importing all the 300 files files = dir( 'imageset1_*.txt'); for i=1:numel(files) A{i} = dlmread( files(i).piv, '\t',...

4 years ago | 0

Answered

indexing must appear last in an index espression

this code is meant for importing 300 .txt files and summing and mean of all values of the files and plotting the final results...

indexing must appear last in an index espression

this code is meant for importing 300 .txt files and summing and mean of all values of the files and plotting the final results...

4 years ago | 0

Question

indexing must appear last in an index espression

*Xsum =A(1)(:,3);* error is at this point for k = 2:299 Xsum=Xsum+A(k)(:,3); end

4 years ago | 2 answers | 0

Question

i had 200 .txt files each having four columns and 2000 rows . i want to import them into matlab and find average of each column .Please help me in coding this

*

4 years ago | 1 answer | 0