Community Profile

photo

Matt Macaulay


Last seen: fast 4 Jahre vor Aktiv seit 2017

Statistiken

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 2

| akzeptiert

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 6 Jahre vor