Top 10% contributor
I have used Friedrich's code and got that contour plot.
If I flip Z before I plot it:
[X,Y] = meshgrid(s,t);
Answered 2 years ago
Thanks for your answers. Huge leap forward in my work.
I now get the values of q displayed as a matrix:
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...
Asked 2 years ago
I have this equation:
I have this function saved in its own func.m file:
I don't understand this odd little thing in my code. I have simplified the function but this is basically what it's doing:
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 ...
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:
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....
I am using the fzero function and at some points get the error:
Exiting fzero: aborting search for an interval containing a...
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.