Question

red-green colour blind

I am asked to replace red, green, blue curves in the plot to red-green colour blind. Can someone please tell me how to get that...

alrededor de 2 años ago | 0 answers | 0

Question

gaussian fit to the data

I have my data like x = 1:1934; y = (Attached below); To fit a gaussian distribution, I used figure; plot(x,y); ...

alrededor de 2 años ago | 0 answers | 0

Question

load only a few cells like {1,1} to {10,1} from info.mat file.

my varaible named "info" is saved in info.mat file that contains 52x1 cells. Since it is too large in memory. I cannot load it a...

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

Question

Error using load Out of memory. Type HELP MEMORY for your options.

I cannot load a variable (info.mat) file with size 973 MB. It shows Error using load Out of memory. Type HELP MEMORY for your...

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

Question

How to save V7.3 format variable quickly (in few seconds) like ordinary save command

I have a varaibale of size >2GB. I wanted to save it. So matlab shown me an error when I used ordinary save command [save info.m...

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

Question

Custom fitting power1 equation of the type Y=A*(sind(x))^N

I have power equation of the type this resembles to the power1 fit in a custom fitting equation which is of the type here my ...

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

Question

fit a custom equation of the type (sin(Alpha))^n

I have X = [5.29 15.8 26.47 37.05 47.64 58.23 68.82 79.41 90 100.58 111.17 121.76 132.35 142.94 153.52 164.11 174.7]; and Y = [...

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

Question

fitting an equation to the curve

I have set of data X,Y and i would like to fit an equation of the form . I want to find for which n, the curev fits the best....

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

Question

How to match elements of matrix having different dimensions?

if true % code endI have some dates in say variable A as 10x6 double form : 2000 01 01 00 00 01 2000 01 0...

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

Question

How to load CSV file with space?

I have a csv file that loads very perfectly from 2nd column onwards. data = csvread('filename.csv',1,1); However, in the...

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

Question

How to make the dynamic spectra?

Can anyone help me reproducing the below figure. I really have no clear idea what they have done. It seems it is FFT and then...

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

Question

How to control number of minor ticks between the major ticks?

How to put desired number of minor ticks between two major ticks. Like for a 24 hours data, I may like to indicate every 15-m...

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

Question

Extract 2D matrix from 3D matrix with different lengths.

I have 17x8x94059 class-double matrix. i.e 3D matrix., say "B" Now I would like to extract 17x94059 elements and make it a 2D...

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

Question

if loop with multiple conditions

I have a matix 80x1. Now i want band of values to be executed: The band is: 1-14, 29-33, 40-54, 69-73. It should ignore al...

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

Question

How to find mean of cells?

I have a cell array 'x' with 1x5 cell class. Now, in x{1,1} has 2x1 cell. Now i would like to find nanmean of (x{1, 1}{1, 1}(5...

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

Question

How to convert cells within cells to double.

How to convert cells within cells to double. cell2mat(cell2mat(a)) does not work

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

Question

How to reduce writing using cat command?

Is there any way to reduce writing each time by any means.. y = cat(3, x{1,1}, x{1,2}, x{1,3}, x{1,4},... x{1,5}, x{...

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

Question

find if the variable exists in a given cell-structure

I have structure-data within a cell. Now I would like to check the condition in each cell if the particular variable exists or n...

casi 3 años ago | 1 answer | 0

Question

how to set new variable for each cycle?

The figure shows the data of the form sine wave. Now, I wish to define one new variable (e.g. a1, a2, a3) each corresponding to...

casi 3 años ago | 1 answer | 0

Question

how to transform coordinate from XYZ to VDH

Are there any matlab function/codes, that helps in conversion of XYZ coordinates to Vertical Dusk Horizontal (VDH) coordinates?...

casi 3 años ago | 1 answer | 0

Question

break-continue for loop

for a full wave rectifier (sine wave with only +ve cycles) type dataset. is it possible to break each half cycle (0-180) ...

casi 3 años ago | 0 answers | 0

Question

how to set log scale range

is it possible to set the range of matlab plot set(gca,'XTick',(6:2:14),'XTickLabel',(6:2:14),'YTick',(1E-30:1E2:1E-...

casi 3 años ago | 1 answer | 0

Answered

How to Convert milliseconds to dd:mm:yyyy hh:mm:ss?

Well, I also got the solution from other google search results, date = datestr(t/86400000 + datenum(1970,1,1)); Thank you...

How to Convert milliseconds to dd:mm:yyyy hh:mm:ss?

Well, I also got the solution from other google search results, date = datestr(t/86400000 + datenum(1970,1,1)); Thank you...

alrededor de 3 años ago | 1

Question

How to Convert milliseconds to dd:mm:yyyy hh:mm:ss?

I have rows that contains 'gregorian' Date and time for each observation in milliseconds since 1970-01-01 00:00:00.0 UTC. ...

alrededor de 3 años ago | 3 answers | 0

Question

When running a loop how to prevent "Caught MathWorks::System::FatalException........?"

I am facing this error when I try to load data files even in a finite loop that runs maximum for 7-8 iterations Confi...

alrededor de 3 años ago | 0 answers | 0

Question

what to do when matlab crashes?

what is to be done when loading several files in a loop suddenly pops up to this message? Caught MathWorks::System:...

alrededor de 3 años ago | 0 answers | 0

Question

read few lines from one *.m file and jump to another *.m file

Is it possible to read only few lines from one matlab code and then jump to another matlab code and read there another few set o...

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

Question

hyperlink from one *.m file to another *.m file

I have 5 matlab code files and I want to go to 2nd file *.m after I run 1st *.m file. So, is it possible to jump from one mat...

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

Question

How to Lock the position of annotation with respect to axes?

i would like to lock the position of annotation w.r.t axes such that annotation will increase/decrease in size automatically ...

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

Question

[h,p,k] = kstest2(x1,x2,'Tail','larger');

[h,p,k] = kstest2(x1,x2,'Tail','larger') it gives the value of h, P-value and the maximum difference 'k'. Is there any way...

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