Feeds
提问
Why is scatter so slow for variable marker size?
I found something very strange and annoying. The following code generates 1000 points randomly in the plane, then moves them a b...
5 years 前 | 0 个回答 | 0
0
个回答提问
Is there a way to control distortion in Matlab's 3D viewer?
The background of this problem relates to my attempt to combine output from a ray tracer with Matlab's 3d plotters. When doing r...
9 years 前 | 2 个回答 | 0
2
个回答提问
Is there a way to obtain light intensity information when lighting a surface?
Suppose we create a very basic surface and single-faced lighting. peaks(10) light <</matlabcentral/answers/uploaded...
9 years 前 | 0 个回答 | 0
0
个回答提问
mex unable to find an include file
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...
9 years 前 | 1 个回答 | 0
1
个回答已回答
Three ways to do the same integration leading to three different speeds: why?
This is a later 'answer' added to complement the above answers about the overhead in concatenating arrays and modularizing via f...
Three ways to do the same integration leading to three different speeds: why?
This is a later 'answer' added to complement the above answers about the overhead in concatenating arrays and modularizing via f...
9 years 前 | 0
提问
Three ways to do the same integration leading to three different speeds: why?
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....
10 years 前 | 3 个回答 | 0
3
个回答提问
Why is Matlab not setting the RGB colors properly?
I'm trying to change the color settings for my Matlab (R2013A). For example, see this link <http://undocumentedmatlab.com/blog/c...
10 years 前 | 0 个回答 | 1
0
个回答已回答
Creating vector plots of wireframe surfaces
Daniel Ennis, the creator of the wireframe package for Matlab, has indicated that this is related to a fundamental problem with ...
Creating vector plots of wireframe surfaces
Daniel Ennis, the creator of the wireframe package for Matlab, has indicated that this is related to a fundamental problem with ...
10 years 前 | 0
| 已接受
提问
Creating vector plots of wireframe surfaces
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
Launching a different script than the one you're calling
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
Returning Jacobian in bvp4c/bvp5c
One can call bvp4c using something like this options = bvpset('Stats', 'on', 'RelTol', 1e-4, 'AbsTol', 1e-8); sol = bvp4...
10 years 前 | 0 个回答 | 1
0
个回答提问
Detect of a plot is loglog
Quick question: Is there a way to detect whether the current figure is a loglog plot? (or regular plot or semilogx, semology)?
11 years 前 | 1 个回答 | 0
1
个回答提问
A black and white filter for Matlab figures
Creating grayscale images from Matlab figures can be a big pain because you have to scale your colormaps and color limits just r...
11 years 前 | 0 个回答 | 2
0
个回答提问
How to zoom in on figures within the dock? (2012b)
It is known that some people (including myself) are having trouble doing the basic image operations like zooming in or out when ...
11 years 前 | 2 个回答 | 0
2
个回答提问
Cool examples of how Matlab is useful
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...
12 years 前 | 2 个回答 | 0
2
个回答提问
Create a figure -exactly- a certain size
Consider the following code: N = 2000; [X,Y] = meshgrid(linspace(0,2*pi,N),linspace(0,2*pi,N)); Z = sin(X+Y); p =...
12 years 前 | 1 个回答 | 0
1
个回答提问
Very weird bug(?) on latex interpreter
I include a code snippet which colors underneath a sine curve. There is a ylabel with the latex interpreter turned on. Changing ...
13 years 前 | 1 个回答 | 0
1
个回答提问
How do you stop fsolve?
Suppose I have the following call [x,fval] = fsolve(@myfun,x0) The function which I wish to solve is given by myfun,...
13 years 前 | 0 个回答 | 0
0
个回答提问
Why does EdgeLighting on patches not work?
I'm trying to create a line on a surface with the EdgeLighting property set to phong (for example). An example code would be ...
13 years 前 | 2 个回答 | 0
2
个回答提问
Lighting only certain surfaces
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...
13 years 前 | 1 个回答 | 2
1
个回答提问
Line resolution and crispness
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...
13 years 前 | 1 个回答 | 0
1
个回答提问
Saving tightly cropped PDFs in Matlab
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...
13 years 前 | 1 个回答 | 0
1
个回答提问
Plotting contours with additional condition
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...
13 years 前 | 1 个回答 | 1
1
个回答提问
Text plots (plotting without figure in command line)
Is there a way (or a package) to plot figures in the Matlab command line without using the figures? For example, upon startup us...
13 years 前 | 3 个回答 | 0
3
个回答提问
Additional output with fsolve
I'm asking what seems to be an identical question to <http://www.mathworks.com/matlabcentral/newsreader/view_thread/254710 this ...
13 years 前 | 2 个回答 | 1
2
个回答提问
Area plot with gradient
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...
13 years 前 | 1 个回答 | 0