Community Profile # Sajid Afaque

Last seen: 3日 前 2019 以来アクティブ

#### Statistics

All
• • • • バッジを表示

#### Content Feed

Switching from matlab 2013b version to 2020b version. Legend command with line handles
hello All i switched from old 2013b matlab version to new 2020b matlab version. In my existing scripts written originally in 20...

### 0

plotting one variable equation
count = 1; for w = -600:100:-100 a(count) = sqrt((1200/w.^2)+10)/sqrt((300/w.^2)+1); w_copy(count) = w count = count+1; end...

| 採用済み

switching from 2013b VERSION TO 2020. Accessing figure handle from plot command
hello all , I just switched to 2020 version from 2013b. when i was checking where 2013 scripts are compatible with 2020, i fou...

### 1

construct a complex number using real part and abs data
i have real part and absolute values of a complex number. is their any built in function to generate back the complex number us...

3ヶ月 前 | 1 件の回答 | 0

### 1

function to display name
that is because while storing the result in big you are using the index i please try below code it might help function resul...

6ヶ月 前 | 0

| 採用済み

Same colour for two curves in a plot
you can also use color instead of triplets h=plot(x,y); set(h, {'color'}, {'r'; 'b'; 'r'});

6ヶ月 前 | 0

insert hyperlink in a pdf report using matlab report generator tool
hello all, i am trying to insert hyperlink in the report .I am generating the report using the matlab report generator tool. i...

6ヶ月 前 | 0 件の回答 | 0

### 0

writing values into nested cell structures.
try this might help % example of A A{1,1} =[3 5 4]; A{2,1} = [3 1 7 0 1] ; A{3,1} = [3 1 7 ]; %MAIN PART IS BELOW for i = ...

6ヶ月 前 | 0

| 採用済み

The 'if' nested in my 'for loop' does not seem to be working, any idea why?
recheck your first condition y_n == 0.25 check if y_n is exactly equal to 0.25 as expected. 0.249999999 is not equal to 0.25 ...

6ヶ月 前 | 0

| 採用済み

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

6ヶ月 前 | 0

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

7ヶ月 前

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

7ヶ月 前

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

7ヶ月 前 | 1

| 採用済み

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

7ヶ月 前 | 0

| 採用済み

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

7ヶ月 前 | 0

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

7ヶ月 前 | 0

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

7ヶ月 前 | 1

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

7ヶ月 前 | 0

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

7ヶ月 前 | 0 件の回答 | 0

### 0

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

12ヶ月 前 | 1 件の回答 | 0

### 1

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

### 0

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

1年以上 前 | 2 件の回答 | 0

### 2

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

1年以上 前 | 0 件の回答 | 0

### 0

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 2 件の回答 | 0

### 2

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0

### 1

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

1年以上 前 | 1 件の回答 | 0