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

alrededor de 1 mes ago | 0 answers | 0

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 meses ago | 1 answer | 0

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 meses ago | 1 answer | 0

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 meses ago | 4 answers | 1

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 meses ago | 1 answer | 0

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 meses ago | 1 answer | 0

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 meses ago | 1 answer | 0

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

7 meses ago | 1 answer | 0

Question

How to perform minimum variance analysis of a time series dataset?

How to perform minimum variance analysis of a time series dataset (attached below matlab.mat) so as to compute the eigenvalues a...

7 meses ago | 1 answer | 0

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

8 meses ago | 1 answer | 0

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

8 meses ago | 2 answers | 0

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

9 meses ago | 1 answer | 0

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

9 meses ago | 1 answer | 0

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

más de 1 año ago | 0 answers | 0

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

más de 1 año ago | 1 answer | 0

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?

más de 1 año ago | 1 answer | 0

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

más de 1 año ago | 1 answer | 0

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

casi 2 años ago | 2 answers | 0

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

casi 2 años ago | 2 answers | 0

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

alrededor de 2 años ago | 1 answer | 0

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

alrededor de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 2 answers | 0

Question

Clip the graph from the centre

How can i clip my graph from origin as shown in attached figure. Here, it can be observed that the dataset between -2 to 2 is c...

más de 2 años ago | 1 answer | 0

Question

matlab 2018b property inspector font size chnage

I am really disappointed with Worst ever MATLAB 2018b! Is there any way to increase the font size of the Tool Tip String in "Pr...

más de 2 años ago | 1 answer | 0