Solved

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

3 years ago

Answered

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

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

3 years ago | 1

| accepted

Answered

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

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

3 years ago | 0

| accepted

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 0

Answered

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

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

3 years ago | 1

Answered

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

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

3 years ago | 0

Question

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

3 years ago | 0 answers | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 0 answers | 0

Question

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

4 years ago | 2 answers | 0

Question

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

4 years ago | 0 answers | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 2 answers | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 0 answers | 0

Question

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

4 years ago | 2 answers | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 3 answers | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 1 answer | 0

Question

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

4 years ago | 0 answers | 0

Question

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

4 years ago | 0 answers | 0

Question

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

4 years ago | 2 answers | 0

Question

sorting string based on the value in it

'temp_25_vgs_4', 'temp_25_vgs_5' , 'temp_25_vgs_8' , 'temp_25_vgs_6' , 'temp_25_vgs_9', 'temp_25_vgs_7' how do i sort the ...

4 years ago | 1 answer | 0

Question

Finding PID of external process called from MATLAB

Hello All, I call an external process(.exe) from matlab on windows machine through the script using 'system()' is their any w...

5 years ago | 1 answer | 0