Community Profile

# Amith Kamath

### U Minnesota

Active since 2011

Professional Interests: Image Processing, Computational complexity and algorithms

All

#### Content Feed

View by

What is the function to plot a rotating 3-D ellipsoid
function [] = visualizeDTrot(C,M,speed,Dir,time) %% C: the covariance matrix. %% Dir: direction of the estimate, to be p...

mer än 9 år ago | 1

| accepted

Hi i need help in file conversion .txt to mat file
Although this may not be the best way to do this, but you can use IMPORTDATA to import all the data from the '.txt' file as a st...

mer än 9 år ago | 0

How to change colorbar's color (in some particular value interval)?
You can manually change the colormap, using COLORMAPEDITOR: <http://www.mathworks.com/help/matlab/ref/colormapeditor.html> ...

mer än 9 år ago | 0

how to draw a temperature distribution on (x,y,z)?
<http://www.mathworks.com/help/matlab/visualize/representing-a-matrix-as-a-surface.html> should help. The image you have att...

mer än 9 år ago | 0

how i can implement lowpass filter on image using matlab
I am assuming you need to smooth (low pass) an image. These two functions are what you need to use: <http://www.mathworks.com...

mer än 9 år ago | 0

How do I obtain video (.avi) from a webcam (in real time) and store the video frames somewhere for further processing?
This will be instructive: <http://www.mathworks.com/help/imaq/examples/logging-data-to-disk.html?prodcode=IA&language=en>

mer än 9 år ago | 0

| accepted

Confusion with adding to cell array
This should work: a = {[0 0], [0 0]} b = [1 2 3 4] a{1} = b(1:2) %choose the first two elements from b and assign to fir...

mer än 9 år ago | 0

how to plot scattered points on 2D graph
Does <http://www.mathworks.com/help/matlab/ref/scatter.html> work? I am assuming your data is a collection of (x,y) pairs, and y...

mer än 9 år ago | 0

Solved

Given a and b, return the sum a+b in c.

nästan 10 år ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

nästan 10 år ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

nästan 10 år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

nästan 10 år ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

nästan 10 år ago

how to find area,eccentricity,mean median ,mode ,variance of a white blood cell
<http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial-blobsdemo> would be a good place to start...

ungefär 10 år ago | 0

Display gray color only from grayscale image
For most tasks of analysing pixel values and thresholding, I've found <http://www.mathworks.com/matlabcentral/fileexchange/6770>...

ungefär 10 år ago | 0

Displaying Images after feature extraction
If you have four images in I, J, K and L, you could do this, figure subplot(2,2,1); imshow(I) subplot(2,2,2); imshow(...

ungefär 10 år ago | 0

What are the advantages/disadvantages to using the ball compared to the disk structuring element?
<http://blogs.mathworks.com/steve/2006/10/23/nonflat-grayscale-dilation-and-erosion/> has some details about the non-flat struct...

ungefär 10 år ago | 0

| accepted

Using Matlab for Iphone or Ipad

ungefär 10 år ago | 1

| accepted

Delete rows in a matrix that contain ONLY a negative number
I'm quite positive that this does the trick. There would probably be more optimal ways to do it! X = 100.*rand(12,5); %for ...

ungefär 10 år ago | 1

histograms of crossing count
Thanks for the interesting question! I'm guessing you're trying something like this. The I = (rand(500,500) >= 0.5); %i...

ungefär 10 år ago | 0

how to load a picture in Matlab? can a video is uploaded in Matlab ?
<http://www.mathworks.com/products/imaq/examples.html> and <http://www.mathworks.com/help/imaq/examples/acquiring-a-single-image...

ungefär 10 år ago | 0

| accepted

<http://www.mathworks.com/matlabcentral/newsreader/view_thread/297814> may be of some help. Unless you are constrained to using ...

ungefär 10 år ago | 0

| accepted

I have a matrix, there are zeros values in that and i just want to remove the zero values from the array
if A is the array in question, you could do: A = A(A ~= 0);

ungefär 10 år ago | 1

| accepted

Which toolboxes are needed for object detection from video over MATLAB 2009 platform?
You may want to look at: <http://www.mathworks.com/products/computer-vision/index.html> (this is not available for 2009 thoug...

ungefär 10 år ago | 0

| accepted

Measuring indentation in an object
<http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-notes/> and the convex hull concept would help. ...

ungefär 10 år ago | 0

I wanna replacing 2nd and 3rd column to each other. How can I write a command?
Assuming I understand the question right, here is an example of how it could be done: x = magic(5); % a random matrix fo...

ungefär 10 år ago | 0

Mesh for 3D plot
Going from the error, it seems that you are trying to use mesh for a 1D array (Z in your case). Mesh expects the 'Z' to be a 2D ...

ungefär 10 år ago | 0

background noise and nearst point
For either case, I would imagine you will need a mask for the brain regions. This can be done either manually using <http://www....

ungefär 10 år ago | 0