Recent content by Image Analyst
-
MATLAB Matlab command question: length max([x+y-1,x,y])
When you use length without parentheses, it assumes that everything after it is a string, so length max([2+3-1,2,3]) is really the same as length 'max([2+3-1,2,3])' and the string 'max([2+3-1,2,3])' is 16 characters long. If you would have used parentheses, it would not make the...- Image Analyst
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB How Can I Retain Image Quality While Showing Axes in MATLAB?
Try export_fig by Yair Altman, on the File Exchange, or maybe try the truesize() function.- Image Analyst
- Post #7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB How Can I Retain Image Quality While Showing Axes in MATLAB?
Don't save your output image (with all the axes, graphics, labels, titles, etc.) as JPG format. Yes, that will give you a crappy image. Save the image as PNG format, which is lossless compression and will give you exactly what you see. Be sure to maximize your screen first so your output...- Image Analyst
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Java Why is this Java code not working?
If you want it in MATLAB, why not write it in MATLAB language (instead of Java)? I didn't even know MATLAB could run Java. And we're still not sure what "not working" means to you. Please elaborate.- Image Analyst
- Post #7
- Forum: Programming and Computer Science
-
MATLAB Troubleshooting Best Fit Line and Distance Calculation in MATLAB
Or perhaps you should upgrade your computer.- Image Analyst
- Post #14
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Fixing a Matlab Code: Help Needed for Fourier Transform Calculation"
If you put braces around an expression, it turns it into a special kind of variable called a cell array. A cell array is not a numerical variable - it's a container for variables. You can't divide a number (1) by a container. See the FAQ to gain a better, more intuitive understanding of what...- Image Analyst
- Post #30
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Fixing Matlab Plot Error: Invalid Color/Linetype Argument
It's not a bug. And the order doesn't matter. The problem is you don't have a dash in there. It's some character that looks like a dash but isn't. When I paste in your code it shows the error message Error using plot Error in color/linetype argument. Error in test1 (line 3)...- Image Analyst
- Post #11
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Understanding the Prompt in Matlab: Commands and Terminology
The command window is the whole window, which includes the >> prompt, any commands you type in at the prompt, and any results that get echoed into the window. It's essentially the whole white rectangular box. The command prompt is the >> symbol you see inside the command window, and is where...- Image Analyst
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Matlab -- how to make a smooth contour plot?
Try using interp2() or griddedInterpolant() to make more data point locations before passing the image to contourf().- Image Analyst
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Compare Home Editions of Maple, MATLAB & Mathematica: Questions & Experiences
The home version of MATLAB is the same software as the full professional version, so if you're familiar with MATLAB, it's the same. It's not a crippled, dumbed down, or limited capability version. The only thing different is the license and the cost.- Image Analyst
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Highlight an object in an image?
Well I know a little bit about image analysis, having done it full time for the last 37 years. You have to define what food is. How would the computer know that the red stripes on the table cloth are stripes and not licorice ropes? How would it know that the chopsticks are not breadsticks or...- Image Analyst
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB How can I implement the 2D GrayScott model in MATLAB for a screensaver?
Mike's blog gives the code. Why not just use his code?- Image Analyst
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB How to spin the colormap in 2 different circles in matlab
Have you tried using circshift() on the colormap?- Image Analyst
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Working out an equation on MATLAB using co-ordinates
Saints-94, you can do fprintf('y = %f * x^2 + %f * x + %f\n', coefficients(1), coefficients(2), coefficients(3));- Image Analyst
- Post #8
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
MATLAB Working out an equation on MATLAB using co-ordinates
Try this: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all existing variables. Or clearvars if you want. workspace; % Make sure the workspace panel is showing. format long g; format compact; fontSize =...- Image Analyst
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX