Community Profile

photo

John Mahoney


UC Davis

10 total contributions since 2012

Contact

John Mahoney's Badges

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

View details...

Contributions in
View by

Answered
How to create a conditional symbolic function?
Hi Oscar, How about this? syms x % Define each subfunction f1 = x^3; f2 = x^4; f3 = x^2 + 100; % Ch...

5 years ago | 0

| accepted

Question


camtarget resets when using mouse to rotate 3D figure
Often when I have a 3D plot, I want to zoom in on some feature and view it from different angles. Currently, I: * click the ...

5 years ago | 0 answers | 2

0

answers

Question


Unexpected line colors when saving simple plot
I am trying to plot some lines with various shades of gray and find some unexpected results. Matlab plot window expected: gr...

5 years ago | 1 answer | 0

1

answer

Question


Problem with fill and latex interpreter?
I noticed that I began having trouble with saving figures that contain transparency. First, the figure appears on the screen ...

6 years ago | 1 answer | 0

1

answer

Question


How do you properly vectorize an ODE for integration?
I am interested in ODE integration for a large (10^3 ish) number of initial conditions. As is known, but not terribly well docu...

6 years ago | 1 answer | 1

1

answer

Answered
help on this code error
Are you mixing up "mixture" and "mixtrue"?

6 years ago | 0

Question


Matlab exits unexpectedly after simple plot
Edit: I have submitted this as a bug. I got suggestions for workarounds, but the problem remains. My goal is to make some sca...

7 years ago | 2 answers | 0

2

answers

Question


Painters renderer creates unwanted white lines
I want to render a surface using the painters renderer to make use of the vector graphic nature. In particular so the fonts and ...

7 years ago | 1 answer | 0

1

answer

Question


Spawning Matlab processes from within Matlab
--How do I make Matlab call lots of little Matlabs?-- Here is a simple script that takes one parameter as input. % simpl...

7 years ago | 1 answer | 0

1

answer

Question


contourc - plotting contour matrix
I would like to find the contours, manipulate them, and then plot them. This plots contours x = 0:0.1:1; y = 0:0.1:1; ...

7 years ago | 2 answers | 1

2

answers