Community Profile

photo

Matt Macaulay


Last seen: 4 years ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 2

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Solved


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

6 years ago