photo

James


Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


FOR loops optimisation for runtime
Is there a way to optimise this code? It takes a long time to run. It basically comprises of 3 FOR loops running like this: ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


IF loop end if
FOR loop that runs i=1:N with an embedded IF loop that executes if val(i)>0 and val(i+1)<0 or opposite way around and outputs i....

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Fzero Exit Inf Value NaN
I am using the fzero function and at some points get the error: Exiting fzero: aborting search for an interval containing a...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Code not setting value=0
I don't understand this odd little thing in my code. I have simplified the function but this is basically what it's doing: ...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Help with fzero equation solver
I have a equation with 3 variables A,B,C and want to know for each A,B combination the value of C that makes the equation equal ...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Contour Plot Color Scaling
I have a function dependant on variables A and B. I want to plot the values on a filled contour plot with A,B as the x,y axes. ...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Fzero 3 variables 1 equation optimisation
I have this equation: (P.^3)+(0.5.*H)+Q+(1/sin(H*P))=0 I have this function saved in its own func.m file: function A...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Help with Basic 2D Contour Plot
I have used Friedrich's code and got that contour plot. If I flip Z before I plot it: [X,Y] = meshgrid(s,t); Z =tri...

mehr als 11 Jahre vor | 0

Beantwortet
Help with Basic 2D Contour Plot
Thanks for your answers. Huge leap forward in my work. I now get the values of q displayed as a matrix: Z = -...

mehr als 11 Jahre vor | 0

Frage


Help with Basic 2D Contour Plot
I am trying to get this contour plot to work. This is a simple example so I can figure out how to do it before applying it to tr...

mehr als 11 Jahre vor | 5 Antworten | 0

5

Antworten