回答済み

Storing Outputs from a Nested Loop

By initiating an empty array and then filling it with the looping indices: c = nan(10,10); for a = 1:10 for b= 1:10...

Storing Outputs from a Nested Loop

By initiating an empty array and then filling it with the looping indices: c = nan(10,10); for a = 1:10 for b= 1:10...

5年以上 前 | 1

| 採用済み

回答済み

Run a section of code, pause, close figures and proceed to next section

Have you tried running sections (mark a section by starting it with %%+enter) separately with ctrl+enter? then you can plant:...

Run a section of code, pause, close figures and proceed to next section

Have you tried running sections (mark a section by starting it with %%+enter) separately with ctrl+enter? then you can plant:...

5年以上 前 | 1

回答済み

Remove specific items from legended

yeah, check this out: <https://www.mathworks.com/matlabcentral/answers/406-how-do-i-skip-items-in-a-legend Link>

Remove specific items from legended

yeah, check this out: <https://www.mathworks.com/matlabcentral/answers/406-how-do-i-skip-items-in-a-legend Link>

5年以上 前 | 1

| 採用済み

回答済み

How can i change the values of parameter E1 to 1 then 50 and lastly 100 and plot a single graph that include three lines for three inputs of E1 in same graph. I need to draw a comparison

not sure exactly what you need, try this for general inspiration: E1 = [1,10,100]; xdata = 1:3; for i = 1:3 sc...

How can i change the values of parameter E1 to 1 then 50 and lastly 100 and plot a single graph that include three lines for three inputs of E1 in same graph. I need to draw a comparison

not sure exactly what you need, try this for general inspiration: E1 = [1,10,100]; xdata = 1:3; for i = 1:3 sc...

5年以上 前 | 0

回答済み

Performing calculation across large data set

a = rand(10,2); %change this to your data out = nan(length(a)); for i = 1:(length(a)) out(i,1) = abs(mean([a(i,1)...

Performing calculation across large data set

a = rand(10,2); %change this to your data out = nan(length(a)); for i = 1:(length(a)) out(i,1) = abs(mean([a(i,1)...

5年以上 前 | 0

回答済み

Plot and bar graphs with independent axis

Here's a trick for doing precisely what you are looking for, run the example: data1 = randi([0,100],100,1); %for plot() ...

Plot and bar graphs with independent axis

Here's a trick for doing precisely what you are looking for, run the example: data1 = randi([0,100],100,1); %for plot() ...

6年弱 前 | 1

回答済み

how can i patch a circle in the origin of the axis?

See my initial answer, I posted it as a comment by mistake: rad = 10; %this is the radius (change it if you like) an...

how can i patch a circle in the origin of the axis?

See my initial answer, I posted it as a comment by mistake: rad = 10; %this is the radius (change it if you like) an...

6年弱 前 | 0

回答済み

How to remove subplot grey space between images

Try the following trick - instead of specifying the "real" exact number of subplots you need, specify a greater number and then ...

How to remove subplot grey space between images

Try the following trick - instead of specifying the "real" exact number of subplots you need, specify a greater number and then ...

6年弱 前 | 2

送信済み

Generate_all_codon_combinations

Generate all synonymous codon combinations

6年弱 前 | ダウンロード 2 件 |

回答済み

How to write simple predict() function for ClassificationSVM

First you'd have to select features, check out: https://www.mathworks.com/discovery/feature-selection.html for info and...

How to write simple predict() function for ClassificationSVM

First you'd have to select features, check out: https://www.mathworks.com/discovery/feature-selection.html for info and...

6年弱 前 | 0

回答済み

How to reduce horizontal distance between plots on 2x2 plot figure?

Try the following idea (might help, depends on the exact requirements of the journal etc.) - instead of going subplot(2,2,...

How to reduce horizontal distance between plots on 2x2 plot figure?

Try the following idea (might help, depends on the exact requirements of the journal etc.) - instead of going subplot(2,2,...

6年弱 前 | 0

回答済み

How to determine standard error from Multiple Linear Regression

Hi calvin, If I understood you correctly - what you're looking for is the second output of regress(), which is a confidence ...

How to determine standard error from Multiple Linear Regression

Hi calvin, If I understood you correctly - what you're looking for is the second output of regress(), which is a confidence ...

6年弱 前 | 0

| 採用済み

質問

Sending an email via Matlab, how do I fix an 'Authentication failed' error?

Hi, I'm having trouble with sending emails through Matlab. I read about it, and tried all kinds of suggestions. Here is a...

6年弱 前 | 1 件の回答 | 1

回答済み

How do I use SENDMAIL to send email from MATLAB 7.2 (R2006a) via the GMail server or Yahoo server?

Hi, I'm having trouble with running this code. I tried the suggestion above: % % parameters mail = 'mymail@gmail.com'...

How do I use SENDMAIL to send email from MATLAB 7.2 (R2006a) via the GMail server or Yahoo server?

Hi, I'm having trouble with running this code. I tried the suggestion above: % % parameters mail = 'mymail@gmail.com'...

6年弱 前 | 0

質問

How can I determine the number of digits after the decimal point?

Hi, I am looking for a function that takes: 1. a matrix with different kinds of numbers - some are whole numbers (7), some...

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

質問

Within a cell array, how can I look for cells that contain a certain element, in addition to other elements I am not looking for?

For example, let's say I have a cell array: Z={'abcde','atg';'va','rem';5,'a'}. I want to find the positions (x,y) of all...

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

質問

How do I find non zero cells in a cell array?

Let's say I have a 100x10 cell array of 0 and 1 (false and true). I want to know which cells contain 1's. I would like the inf...

8年弱 前 | 2 件の回答 | 0