Community Profile

photo

Mr. 206


36 total contributions since 2018

Mr. 206's Badges

  • Thankful Level 3
  • First Answer

View details...

Contributions in
View by

Question


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

7 mois ago | 2 answers | 0

2

answers

Question


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

7 mois ago | 1 answer | 0

1

answer

Question


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

7 mois ago | 2 answers | 0

2

answers

Question


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

7 mois ago | 1 answer | 0

1

answer

Question


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

7 mois ago | 1 answer | 0

1

answer

Question


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?

8 mois ago | 1 answer | 0

1

answer

Question


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

8 mois ago | 0 answers | 0

0

answers

Question


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

8 mois ago | 1 answer | 0

1

answer

Question


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

8 mois ago | 1 answer | 0

1

answer

Question


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

8 mois ago | 2 answers | 0

2

answers

Question


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

9 mois ago | 2 answers | 0

2

answers

Question


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

9 mois ago | 2 answers | 0

2

answers

Question


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

10 mois ago | 1 answer | 0

1

answer

Question


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

10 mois ago | 1 answer | 0

1

answer

Question


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

10 mois ago | 0 answers | 0

0

answers

Question


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

10 mois ago | 1 answer | 0

1

answer

Question


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

10 mois ago | 1 answer | 0

1

answer

Question


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

10 mois ago | 2 answers | 0

2

answers

Question


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

10 mois ago | 1 answer | 0

1

answer

Question


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

10 mois ago | 2 answers | 0

2

answers

Question


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

11 mois ago | 1 answer | 0

1

answer

Question


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

11 mois ago | 2 answers | 0

2

answers

Question


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

11 mois ago | 1 answer | 0

1

answer

Question


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

11 mois ago | 1 answer | 0

1

answer

Question


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

11 mois ago | 1 answer | 0

1

answer

Question


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

11 mois ago | 1 answer | 0

1

answer

Question


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

12 mois ago | 1 answer | 0

1

answer

Question


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

12 mois ago | 1 answer | 0

1

answer

Question


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

12 mois ago | 2 answers | 0

2

answers

Question


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

environ un an ago | 2 answers | 0

2

answers

Load more