Community Profile

photo

Matt Macaulay


Last seen: quasi 4 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistiche

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

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

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

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

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

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

circa 6 anni fa | 0

| accettato

Risolto


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

oltre 6 anni fa