Beantwortet
Multiple if elseif statement
you can try switch statements as alternative for else if. depends on your need

mehr als 5 Jahre vor | 0

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 5 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mehr als 5 Jahre vor

Beantwortet
Saving multiple files using for loop
if you are running the 36 different scripts individually then you have to use a for loop. this way your code would be shorter ...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
How to write for loop for an array calculation ?
if i understood correctly then, it is because your inner loop runs over j several times for each k value hence in A the k posi...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
Variables within other variables
I am not clear with your question but with whatever i have understood is you can have a single cellarray containg all the varia...

mehr als 5 Jahre vor | 0

Beantwortet
join two cells on certain cell row values
try converting the cells to table format. then you can explore inner join feature of tables to perform your task

mehr als 5 Jahre vor | 0

Beantwortet
imread error file does not exist
actually the path which you have given is in wrong format try to remove the space before foldername This PC imgread=imread('c:...

mehr als 5 Jahre vor | 1

Beantwortet
how to substitute, in a table, variable names with the values of a vector
for num = 2:5 table_name.Properties.VariableNames(num) = {'New substitute name here in this case X(num-1)'}; end

mehr als 5 Jahre vor | 0

Frage


Insert Hyper link in report genrated from matlab report generation tool
hello all, i am trying to insert hyperlink in the report .I am generating the report using the matlan report generator tool. i...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


plot cdf and calculate 90th percentile value
hello all , i have a variable z_cdf attached; prctile(z_cdf,90) % answer is 30.9361 now using z_cdf i am trying to plot cdf....

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


is it possible to combine two matfiles ?
supposes i have 2 matfile : matfile 1 consits of : block 1 block 2 matfile 2 consits of : block 2 block 3 now i want to c...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


i have a variable in my workspace and i dont know its name directly
for example i have loaded a variable Verification_2018 = [ ]; in my workspace. now i directly dont know its name. i know tha...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to calculate percentile from ecdf values f and x
suppose i have y = 0:10; [f x] = ecdf(y); plot(x,f); then why does my x value corresponding to f = 0.5 is not equal to medi...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


i want to read a csv file and store as rows and columns of a cell
i have a csv file at a particular location. i have attached the csv file. i want to read the data in the csv file in the below ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to load a matfile and access & process its content.
I am explaining my doubt with an example. Eg: suppose i load a matfile named 'validation.mat' using load command, the contents ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


normalize a histogram in matlab 2013b
hello all , i have a similar issue as in https://www.mathworks.com/matlabcentral/answers/266306-how-to-normalize-a-histogram#an...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


visibility range of histogram
hello i have 2 questions now, in below histogram how do i limit the range of x-axis to around 200.(here i am also specifying th...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


to highlight median value on the plot.
hello , i have plotted a graph using cdfplot(z) now i need to indicate median as a line on graph as shown below here i nee...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to plot cumulative normal distribution of matlab
i have a data "z_hist" which i have enclosed below. now i need to plot cumulative normal distribution which looks something lik...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how can i move cell components to new line
hello All, i have a cell array where each row looks like a{5} = 'temp=25' 'vds=12' 'id=60' 'vbchmax=14' now i wa...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using Matlab Regular expressions ans Tokens
i have a cell array containing strings for example i have a(:,1) = 'temp_25_vbchmax_14_vds_10_id_80' 'temp_-55_vbc...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


improve visibility of a plot
is their any way, by which i can get better visibility of the graph. i.e in the above graph the blue line is almost flattened ...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


create specific color map and save it
how do i create my own color map for 2D-scatter plot. such that all the values of z z <= 10 ------- take green color 10 < z <...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


change color scheme of a scatter plot
here above you can see i have a 2-D Scatter plot. now i want to change the color scheme. for all the values values <= 10 ...

etwa 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


scatter plot covers the axes values
i have my scatter plot shown above. i have increased the marker size to distinguish clearly between colors. but since i have...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


sort a string based on particular value
Hello All, i have a list of type ch = { 'temp_25_vgs_8', 'temp_25_vgs_3', 'temp_25_vgs_9', 'temp_25_vgs_10', 'temp_20_vgs_8',...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


matlab report explorer,color
i am inserting the table shown below in a Pdf report generated through MATLAB REPORT GENERATOR TOOL. now i need to know is thei...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


matlab report explorer tool
hello all i am using "Report explorer" tool of matlab to generate a PDF report. i evaluate certain condition and store it as ...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


kill a processb from matlab
hello all i have got the process id [pid] of an external process. what is the syntax to kill that process using the pid. i ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden