Matt Macaulay
Followers: 0 Following: 0
Feeds
已回答
How do I free up terminal for a script to keep running, i.e. run a script in two places at once?
I don't think it's possible to have the script run at two places at once. However a quick workaround would be to move the while ...
How do I free up terminal for a script to keep running, i.e. run a script in two places at once?
I don't think it's possible to have the script run at two places at once. However a quick workaround would be to move the while ...
6 years 前 | 0
| 已接受
已回答
Define new variables to each instance of a string of repetitive values
The <https://au.mathworks.com/matlabcentral/fileexchange/41813-runlength RunLength function on file exchange> would be great for...
Define new variables to each instance of a string of repetitive values
The <https://au.mathworks.com/matlabcentral/fileexchange/41813-runlength RunLength function on file exchange> would be great for...
6 years 前 | 1
| 已接受
已回答
Can I run a loop with image variables that have different dimensions?
Make a cell of the images and loop through the cell: a = {I1 I2 I3 I4 I5 I6 I7 I8}; n = length(a); for i = 1:n ...
Can I run a loop with image variables that have different dimensions?
Make a cell of the images and loop through the cell: a = {I1 I2 I3 I4 I5 I6 I7 I8}; n = length(a); for i = 1:n ...
6 years 前 | 2
| 已接受
已回答
How to add an interval to a number?
Using a tolerance as KSSV mentioned does the job. x=[0 1]; y=[0 1]; [xp,yp]=ginput; epsilon = .1; ...
How to add an interval to a number?
Using a tolerance as KSSV mentioned does the job. x=[0 1]; y=[0 1]; [xp,yp]=ginput; epsilon = .1; ...
6 years 前 | 1
| 已接受
已回答
How can normalize matrix in range [-1,1]?
Divide the matrix by it's largest absolute value. For example, take the matrix: A = 200*(.5-rand(3)) Now normalise it: ...
How can normalize matrix in range [-1,1]?
Divide the matrix by it's largest absolute value. For example, take the matrix: A = 200*(.5-rand(3)) Now normalise it: ...
6 years 前 | 0
| 已接受
已回答
im having troubles working with probabilities
You could try a bar chart like this: clf chanceDisease = [.6 .7]; age = [30 40]; bar(age, chanceDisease) ...
im having troubles working with probabilities
You could try a bar chart like this: clf chanceDisease = [.6 .7]; age = [30 40]; bar(age, chanceDisease) ...
6 years 前 | 0
| 已接受
已解决
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
7 years 前