Community Profile

photo

Megha


Last seen: 2 years ago Active since 2018

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to obtain the X,Y,Z index of the high intensity stripes/bands appearing the image shown below?
How to obtain the X,Y,Z index of the bluish-green streaks appearing the image shown below? There are about 3-4 streaks and I wo...

2 years ago | 0 answers | 0

0

answers

Question


How to make histogram with 4 variables?
How to make histogram with 4 variables? For example, X = 1:19 Y = 1:7 Z = randi(19,7) colorbar = rand([400, 800], 19, 7) ; ...

2 years ago | 1 answer | 0

1

answer

Question


how to obtain polar plot (with colorbar) with same dimensions of X Y and Z (i.e. 1XN)?
I wish to produce a polar plot with with colorbar PosCir = (2:1:6); R = 2:0.25:6.5; % size = 1x19 theta = randi(360,1,19); % ...

3 years ago | 0 answers | 0

0

answers

Question


how to form a new matrix (i.e. B) from two different matrices (i.e. a1, a2) knowing the indices of its origional matrix (indices of a)?
% a = [1 2 3 4 5 6 7; 2 4 6 8 10 12 14]; % dimension: 2x7 a1 = [2 6 12]; % index in a = [1 3 6] % dimension: 1x3 a2 = [4 8 10 ...

3 years ago | 1 answer | 0

1

answer

Question


how to plot ?
How to plot the data with the size:

3 years ago | 1 answer | 0

1

answer

Question


how to use hold on for two different imagesc plots
I have a matrix like below and want to find imagesc(); hold on; imagesc(); t1 = [1 2 3 6 7]; E1 = [-0.00660786358639598 0.0777...

3 years ago | 1 answer | 0

1

answer

Question


average over a certain range of index ?
I have vector A = [1 7 12 20 23 31]; and B = [6 11 19 22 30 35]. now i want to average another matrix C with 1x35 elements over...

3 years ago | 4 answers | 1

4

answers

Question


can we run codes from 2nd line onwards?
I am running my codes externally i.e. calling one *.m file from another using "run(filename)" command. Can I call this run(file...

3 years ago | 1 answer | 0

1

answer

Question


Can we run more than one matlab code simultaneously?
I want to run 50 codes of nearly same type. Is it possible to put all codes for running at once, in a single click??

3 years ago | 1 answer | 0

1

answer

Question


how to find and replace a number/word/command in all opened *.m files in matlab at once?
How to find and replace a particular number/word/command in the multiple opened *.m files at once? I want to change one parti...

3 years ago | 1 answer | 0

1

answer

Question


How to rotate the field vectors in the minimum covariance direction?
I have a magnetic field data (n by 3 components) and i wish to find its covariance matrix and obtain eigen values, eigen vectors...

3 years ago | 1 answer | 0

1

answer

Question


How to perform a time series dataset?
How to perform

3 years ago | 0 answers | 0

0

answers

Question


How to solve the range of x axes and obtain y values?
I wish to obtain figure as shown below: here, y axis is r and x-axis is unu_f. I tried to generate unu_f using a range of "r...

3 years ago | 1 answer | 0

1

answer

Question


How to solve the equation shown in image below?
I wish to solve the eqn shown in figure below: Here, I wish to find the value of theta_u. The i/p paarmeters are: clear; Va...

3 years ago | 1 answer | 0

1

answer

Question


How to find unknown variable in the below equation?
I wish to solve the equation as shown below: So, I made a new variable "A1" as coded below with i/p parameters. r = 3.88; ...

3 years ago | 1 answer | 0

1

answer

Question


how to solve equation to find angle
I have the values of variables be like: clear; Vau = 43.0; Vsu = 47.45; beta = 1.41; gamma = 5/3; syms theta_u I wish...

3 years ago | 0 answers | 0

0

answers

Question


error loading spdfcdfread?
I have been using cdf patch, since years, in different PCs/Laptops. However, something went on very unusual this time in my new ...

4 years ago | 1 answer | 0

1

answer

Question


how to replace labels 1e-18, 1e-17, 1e-16 etc. to 10^(-18), 10^(-17), 10^(-16) etc.
how to replace labels 1e-18, 1e-17, 1e-16 etc. to 10^(-18), 10^(-17), 10^(-16) etc.how to replace labels 1e-18, 1e-17, 1e-16 etc...

4 years ago | 1 answer | 0

1

answer

Question


How to report a complaint against the person who replies ill content on matlab answers?
How to report a complaint against the person who replies ill content on matlab answers?

4 years ago | 1 answer | 0

1

answer

Question


How to plot circle with direction?
I wish to plot a circle with direction of its motion.An exmaple is attached below. I wish to get around 5-10 arrows per circle ...

4 years ago | 1 answer | 0

1

answer

Question


How to set mmmm dd, yyyy as per our choice in the datestr command?
How to set mmmm dd, yyyy as per our choice in the following command? datestr(hours(50),'mmmm dd, yyyy HH:MM:SS') It is norma...

4 years ago | 2 answers | 0

2

answers

Question


Is there a way to export/save a matlab 3D figure so that a 3rd party can view it with the rotation enabled without using Matlab?
Is there a way to export/save a matlab 3D figure so that a 3rd party can view it with the rotation enabled without using Matlab?...

4 years ago | 2 answers | 1

2

answers

Question


logical to index values convert
I have a set of values, like a = [1 2 3 4 5 6 7 6 5 4 3 2 1]; % 1x13 double Now, i wish to get the index of value for which num...

5 years ago | 1 answer | 0

1

answer

Question


vertical line through all the subplots
How to give a long vertical line throughout one particular plot that contains multiple subplots. I do not want annotation comma...

5 years ago | 1 answer | 0

1

answer

Question


legend at a desired location on a plot
How to put legend on a deisred location i.e desired x,y points in matlab? In a plot of X = 1:10; Y = 1:10; plot(X,Y); legen...

5 years ago | 1 answer | 0

1

answer

Question


How to write 2 didgits after decimal in text figure like given below
how to print on a figure the text like here p1 = 0.234567546485, k1 = 0.045677869 text(800,0.3,['\Delta = ' num2str(fprintf(...

5 years ago | 1 answer | 0

1

answer

Question


how to get only selected legend in this particular case
I have attached data, can anyone help me getting red, blue and green legends only? yt = logspace(-3,4,8); binranges = yt; ...

5 years ago | 1 answer | 0

1

answer

Question


logspace with gap of half
yt = logspace(-3,4,8); This gives 0.001, 0.01, 0.1,1,10,100,1000,10000 However, I want 0.001, 0.005, 0.01,0.05, 0.1, 0.5, 1...

5 years ago | 1 answer | 0

1

answer

Question


getting double legend for one bar plot while running histc!!
I would like to plot histogram with x-axis in log scale. where my dataset is 1.0e+04 * [4.4463 0.0109 0.0034 0.1224...

5 years ago | 2 answers | 0

2

answers

Load more