Community Profile

Contact

Top 5% contributor

Here is a code that does the trapezoid rule applied to a function on [0, 100] and where I use a random vector with 1000 entries....

3 Answers

0

Asked 10 months ago

Daniel Ennis, the creator of the wireframe package for Matlab, has indicated that this is related to a fundamental problem with ...

accepted

Answered 12 months ago

I'd like to create a lit sphere, to be placed on an unlit surface. For example, membrane; [x,y,z] = sphere(40); hold o...

1 Answers

2

Asked 4 years ago

Is there a way (or a package) to plot figures in the Matlab command line without using the figures? For example, upon startup us...

I'm asking what seems to be an identical question to <http://www.mathworks.com/matlabcentral/newsreader/view_thread/254710 this ...

2 Answers

1

I teach a little side course on using Matlab, and I'd like to show a little demo of how Matlab is used *in research and industry...

Asked 3 years ago

I'm trying to create a line on a surface with the EdgeLighting property set to phong (for example). An example code would be ...

I'm trying to use mex to compile a file, but it does not seem to be able to find an include file. I am using the test file yprim...

Asked 1 month ago

The situation is that you'd like to plot a surface mesh using many points, but only wish to display the mesh lines within an und...

Asked 12 months ago

Quick question: Is there a way to detect whether the current figure is a loglog plot? (or regular plot or semilogx, semology)?

Asked 2 years ago

Consider the following code: N = 2000; [X,Y] = meshgrid(linspace(0,2*pi,N),linspace(0,2*pi,N)); Z = sin(X+Y); p =...

I include a code snippet which colors underneath a sine curve. There is a ylabel with the latex interpreter turned on. Changing ...

I'm sure many can empathize with my question: I have a figure that needs to be saved in a pdf format (a) without axes or label...

Suppose that I have a function f(x). You can think of f(x) as strictly positive if it helps. Now, there is a secondary funct...

It is known that some people (including myself) are having trouble doing the basic image operations like zooming in or out when ...

Let f(z) be a complex function. Suppose I wanted to plot the contours where the imaginary part, imag(f(z)) = 0, but the real par...

I'm trying to change the color settings for my Matlab (R2013A). For example, see this link <http://undocumentedmatlab.com/blog/c...

0 Answers

In LaTeX, it's possible to have the typesetting system compile a root file even if you've called the compiler on a constituent f...

Asked 1 year ago

One can call bvp4c using something like this options = bvpset('Stats', 'on', 'RelTol', 1e-4, 'AbsTol', 1e-8); sol = bvp4...

I notice that often when I draw lines in Matlab, the line is not very crisp. Here are two images where this cragginess is appare...

This is a later 'answer' added to complement the above answers about the overhead in concatenating arrays and modularizing via f...

Answered 3 months ago

Creating grayscale images from Matlab figures can be a big pain because you have to scale your colormaps and color limits just r...

Suppose I have the following call [x,fval] = fsolve(@myfun,x0) The function which I wish to solve is given by myfun,...