Community Profile

photo

Mr. 206


Con actividad desde 2018

Estadísticas

  • Thankful Level 4
  • First Answer

Ver insignias

Content Feed

Ver por

Pregunta


Finding common x values along with the corresponding y values.
I have to sets of data, First set comprises of x_exp and y_exp. And second set comprises of x_sim and y_sim. They are as follows...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to switch cases if certain file is not found in the mentioned directory?
My script run three different conditions at a time. For this it takes three files as input from certain directory. But sometimes...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Splitting a matrix based on certain values in the rows
I have a matrix A like this: A = [911 911; 0 2; 8 5; 7 3; 911 911; ...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to read data from a text file based on the title?
I have two text files. First one is "Sample01.txt". Which is like this.. And the second one is "Sample02.txt". Which is like ...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to call another matlab scripts which are in the same directory?
I have one "Main_File.m" which i am running from a bash script. Inside the "Main_File.m", I am calling two of the matlab script...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to show results for curves in a graph?
I have a graph with 5 curves. I have certain results for each curve. How can i print them in the graph just like legend?

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to assign color for different column in a group wise bar chart?
I am creating a bar chart of 4 groups of data each containing 3 columns. I want to assign red for highest column and blue for sm...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Why my barchart's 'xticklabel' is skipping the odd numbers and adding 0 and another number at the end?
This is my code where i expect 1,2,3,4,5 as "xticklabel". But MATLAB is adding 0 and 6 at the end and skipping 1,3,5! EFV = [...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why my subplot command skipping the first graph's title and labels?
This is my code where i am plotting two bar plot in one graph. However my first graph should be case:28 then case:29 as mentione...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to read .txt files named as number?
In one of my folders i have files like "Mech_01.txt", "Mech_02.txt", "Mech_03.txt"......... as well as files like "Mech_A.txt",...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to integrate a vector?
I have equation like this. E(x) = and another one is like. E(x) = I don't have the function, rather i have x and y (y= ...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to color a matrix based on the values in matlab?
I have a matrix of 9 by 5. I want to colur them in a table so that the higher values got red and the lowest got yellow. The inte...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to get corresponding file in another folder?
In one of my folders there are files like "IGN_A.txt", "IGN_B.txt", "IGN_C.txt"......... In another folder there are correspond...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to use "dir" command to get desired files in a folder?
I can read files inside a folder by using this piece of code.. Flame_speed_folder = '/home/ali/Test_rig'; Allfiles = dir(full...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to create a higher resolution data?
I am creating a series of data (delta), which i am giving input to a process to find out for which delta the process yields a mi...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to vectorize 'for' loop in this code?
My code is like this... c = 0; for j = 3: 2 : size(READ,2) c = c+1; output(c) = ......

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to go through multiple subfolders for operation?
I only can access into one folder and process the data inside that folder. My Code is like this %Specifying file directory for...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to store matrix in a txt file with Row and Column name?
Here is my Code that is storing a 12×N matrix named "MEEM_orig" MEEM_Orig_File = '/home/directory'; % Assiging dir...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to store data in a nested for loop?
This is my skeleton Code: c = 0 for J = 1: 1 : 12 c = c+1; . . . ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to store multiple column vector generated from a for loop?
I have a function called func which returns A, B, C and D. This A, B, C, D each are 12 elements column vector. I am using this c...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to find the x and y values of a graph which is covered by a certain range?
I have two sets of data for two curves. The first set is x_Exp = [1.1;1.083;1.08;1.073;1.015;0.993;0.987;0.978;0.974;0....

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot multiple data sets in the same graph for a common range?
I have two sets of data for two curves. The first set is x_Exp = [1.1;1.083;1.08;1.073;1.015;0.993;0.987;0.978;0.974;0....

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How can i save a matrix in a txt file and also in .png format?
I have a 12 by 3 matrix 'A'. I want to write this matrix in a txt file with a Title as well as separate names for each column ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to find the value of 'x' which will minimize an enclaved function?
I am trying to use the function [x,fval]=fminsearch(fun,x_0) However the problem appears that i don't have any direct f...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to find where a function has minimum value?
I have a function like this- <</matlabcentral/answers/uploaded_files/136477/r.png>> How can i find the value of δ for whic...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot large square subplot?
<</matlabcentral/answers/uploaded_files/135976/66.txtM12.png>> How can i plot such large square subplot along with a common T...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to calculate the area dissimilarity between two curves?
I have two smoothed curves 'f' and 'g'. f = [4.66356058704069;4.76003678995220;4.85195856216057;4.93937125386862;5.0224...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to calculate intersection between the domains of two functions?
<</matlabcentral/answers/uploaded_files/135396/D.jpg>> I have two column vectors (f and g). From this two vector how can i ca...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to write a .txt file in this way?
<</matlabcentral/answers/uploaded_files/134424/z.png>> I am writing a code like this if D == 0 ...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Assigning different color in legend
I am using this code, but it's plotting same color for all the graphs. How can i assign different color for all of them. There i...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Cargar más