photo

Matt Macaulay


Last seen: oltre 4 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

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

oltre 6 anni fa | 0

| accettato

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

oltre 6 anni fa | 1

| accettato

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

oltre 6 anni fa | 2

| accettato

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

oltre 6 anni fa | 1

| accettato

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

oltre 6 anni fa | 0

| accettato

Risposto
im having troubles working with probabilities
You could try a bar chart like this: clf chanceDisease = [.6 .7]; age = [30 40]; bar(age, chanceDisease) ...

oltre 6 anni fa | 0

| accettato