Community Profile

photo

mehra


Last seen: 8 months ago Active since 2016

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Fullfile code gives error in other system
Hello Every one, I have written the following code and it works well (reading some mat files from a folder, loading them and la...

8 months ago | 1 answer | 0

1

answer

Question


Problem with variable 'nanmean'.
Hello In my matlab script I was using 2 function scripts for despiking the data without any problem but nos I have problem with...

10 months ago | 2 answers | 0

2

answers

Question


using num2str for subplot titles
Hello guys In my code I need to have varying subplot titles like Q1S1, Q1S2 and Q1S3 (respectively for subplot 1 to 3 (first ro...

1 year ago | 1 answer | 0

1

answer

Question


make figure contours mor evident
How I can plot the contour lines more evident in fig1 like it in figure 2? what is the command for that?

1 year ago | 1 answer | 0

1

answer

Question


I get different results for the product of two matrices?
Hello For my u.mat and w.mat data sets I need to do a calculation to find: u-mean(u) and w-mean(w) and then find the mean of...

1 year ago | 1 answer | 0

1

answer

Question


split mtatrix and name automatically
Hello guys I have a mat file (attached) which is a 10004*15 matrix. I need to split it into 15 seprated matrixes like (10004*1)...

1 year ago | 1 answer | 0

1

answer

Question


how to use desoiking function?
Hi every one, I need to use func_despike_phasespace3d functions in order to despike my data. But because input data for this fu...

1 year ago | 0 answers | 0

0

answers

Question


Use dir for files not in any folder
Hello every one, I wanted to know if I can use dir commant for files that are not in any folder! ( In fact I want to know if I ...

1 year ago | 0 answers | 0

0

answers

Question


plot with contourf and define limits for x and y axis
Hello I have a plot by contourf, my problem is that I need the x and y axis to be with the same scale but my x values have sma...

2 years ago | 1 answer | 0

1

answer

Question


not a binary MAT-file
Hello eveyone I have a file with .mat extension file which I cant load and I get the following errror: Not a binary MAT-file. ...

2 years ago | 1 answer | 0

1

answer

Question


one common y label for the subplots
I am trying to remove the y labels in the inner plots of my subplot figures by using straightforward codes which I couldn't, her...

2 years ago | 1 answer | 1

1

answer

Question


add arrowtext outside the figure
Hello I want to add an arrow with a text outside of my figure plot, in the left side outeside of the y axis, The annotation co...

2 years ago | 1 answer | 0

1

answer

Question


add a shape to the figures in one plot
Hi guys I want to add a shape to figures in one plot, In fact I have the codes for a set of figures in the format of subplots...

2 years ago | 1 answer | 0

1

answer

Question


plotting subplot with different columns in the rows
Hello What is the right command for ploting a subplot of two rows in which the first row has only 2 columns and the second row ...

2 years ago | 2 answers | 0

2

answers

Question


Griddata gives NaN values
Hello In my code griddata gives NaN values, I checked if my query points are outside the convex hull of the sample data with th...

4 years ago | 1 answer | 0

1

answer

Question


subplot in for loop is not working
Hello I want to use and plot the following code plot(u_c(:,3),y_c) hold on plot(u_w(:,3),y_w) But I need to use subplot bec...

4 years ago | 1 answer | 0

1

answer

Question


changing titles for subplots in a for loop
hello I have a code like this for s=1:8; r=[16,81,22,87,25,90,26,91]; subplot(4,2,s) plot(tf,Js(1:length(tf),...

4 years ago | 1 answer | 0

1

answer

Question


2 variable for-loop
hello I have the following code which I want to write it as a two variable for loop, Apparently I am making mistake that it gi...

4 years ago | 1 answer | 0

1

answer

Answered
obtain specific components of a matrix
This is what my final (but long) code looks like TKE_t=transpose(TKE); TKE_d1=zeros(8,19000); for r=1:8 TKE_d1(r,:)=TKE_...

4 years ago | 0

Answered
obtain specific components of a matrix
my input is 104*19000 matrix (it can also be 19000*104, doesnt change the result) I think we can ignore the second dimension (1...

4 years ago | 0

Question


obtain specific components of a matrix
Hello I have a TKE_t matrix with dimensions 104*19000 , and I need to obtain values in the following order 1 14 27 40 53 66 79...

4 years ago | 4 answers | 0

4

answers

Question


obtain a matrix out of other matrix
Hello I have a 1*104 matrix which ı have to create a 8*13 matrix out of it. For one column of the final 8*13 matrix I can do ...

4 years ago | 2 answers | 0

2

answers

Question


creating matrix out of another matrix
I have a results matrix of size 104*14. I want to create a matrix of size 8*13 in which u(1,1)=results((1:13),4) and....I tried ...

4 years ago | 2 answers | 0

2

answers

Answered
creating matrix out of another matrix
I solved it using following for loop: for nn=1:8 u_depth(nn,:)=transpose(results((13*(nn)-12):13*(nn),4)); end

4 years ago | 0

| accepted

Question


exclude values of a matrix inside a for loop
Hello what should I include in my for loop so that it can ignore some data in my matrixes? my code is like: xler=cumsum([1/...

4 years ago | 1 answer | 0

1

answer

Question


extract specific values in a matrix
Hello I have a 104*14 matrix and I need to get some of the values in column 10 of this matrix which corresponds to values in fi...

4 years ago | 1 answer | 0

1

answer

Question


loading excel cell in matlab
Hey I am facing the 'Index exceeds matrix dimensions' Error while using xlsread [WL_time,dummy1,dummy2]=xlsread(WL_data(nn).na...

5 years ago | 1 answer | 0

1

answer

Answered
Datetime, parsing problem
Thank you very much

5 years ago | 0

Answered
Datetime, parsing problem
Thank you very much, but here some of my fıles can be processed however in all of them there are 12 digits for seconds

5 years ago | 0

Question


Datetime, parsing problem
I am using Datetime function for a set of 104 excel data, but in some of the data I face with parsing error, although all the fi...

5 years ago | 3 answers | 0

3

answers

Load more