Answered
plot a square which has circles inside it
One way is to just have a matrix of (x,y) location of the centers that got placed. Then have a loop of, say, a million iteratio...

2 years ago | 0

Answered
printing nxnxn matrix into a file
You can't. The .mat file is a proprietary format, and I think it's binary. So the numbers are just in there and it doesn't mak...

2 years ago | 1

Answered
how to take random words from a sting matrix
"id also like to do something similar where i take a random number from a 1x20 array and asign it to a variable" Try this: you...

2 years ago | 0

Answered
import file to standalone application
How were they loaded? Did you just find all files in the current folder and load them? Did you list them all in a listbox and ...

2 years ago | 0

Answered
How to focus my image segmentation algorithm
There is a lot of variation in your image capture setup. You can make vast improvements in it, including Lay the panels on bla...

2 years ago | 0

Answered
How to focus my image segmentation algorithm
I'm not sure what part of the mask you want to be extracted by cropping, but you can use imcrop or indexing croppedImage = orig...

2 years ago | 0

Answered
How do I get the outer contour from a line in an image?
I don't know what "the contour function of the line" is. I'd use the Color Thresholder app on the apps tab of the tool ribbon t...

2 years ago | 0

Answered
Making y-axis positive in both directions
Well I think that would be confusing and deceptive to the reader. But anyway, do you want just the exponent to be positive? Yo...

2 years ago | 0

Answered
Determine the coordinates of the nodes forming the outermost circle
Can you get the coordinates as a list of (x,y) locations? If so, get the convex hull with convexHull or convhull

2 years ago | 1

Answered
How much Mac memory can Matlab utilize?
Try this: >> memory in the command window.

2 years ago | 0

Answered
the size of picture show three data?
The two others said why the size is 3 times the size of the lateral dimensions (because you have 3 color channels/planes). Don'...

2 years ago | 0

Answered
An error that repeats in my Matlab code-image classification
What tf are you using? When I look in the help it lookos like there are lots of tf functions. It looks like you're trying to c...

2 years ago | 0

Answered
Ho to find the area of some patterns in an image
Make it easy for us to help you : attach your image or screenshot as a standard PNG format image so that we can see it right her...

2 years ago | 0

Answered
Size of an image as a single value
"I actually meant the physical size when displyed though." That depends on the figure size. You can resize the figure to any si...

2 years ago | 1

| accepted

Answered
How CT projection image and intensity plot are related?
@Anand Ra in t = -1*(1/ยต)*log(I./Io) note that I is a 2-D array, so the log is also a 2-D array, and thus t is also a 2-D ar...

2 years ago | 1

Answered
How do I calculate PNSR of an Image
There is a psnr function in the Image Processing Toolbox. help psnr

2 years ago | 0

Answered
Where can I find video files with the avi extension ?
To find all files under a top level folder, you can do it like this: % Specify the top level folder where the *.avi files are r...

2 years ago | 0

Answered
Best way to calculate color difference score
That's basically correct. What could possibly be improved is the image capture part, but you don't say anything about that. Ar...

2 years ago | 0

Answered
Histogram Equalization-Contrast Adjustment
Don't use histogram equalization. It's a common beginner misconception that it helps. It is not needed. First of all, it usua...

2 years ago | 0

Answered
How to use "imregionalmax" without using for loop
peaks = sort(AF_Nuni(i,imregionalmax(squeeze(AF_Nuni(i,:,:))))); The way you're indexing could be slowing you down. Normally y...

2 years ago | 1

Answered
I'm dealing with Speech compression using Linear Predictive Coding. When I run the code I get a few errors.
The error is clear: the file does not exist. Check the spelling and location. Perhaps add a file extension if the file has one...

2 years ago | 1

Answered
Read Excel and write output
What is p1, p2, and p3? You might try R = xlsread('Book1.xlsx') %% Excel sheet (Book1.xlsx) is in 'D' drive A = R(:, 1); B =...

2 years ago | 0

Answered
Matlab GUI to select and plot data from csv file.
Use the current figure, gcf: figPosition = get(gcf, 'Position'); Also see MAGIC - MATLAB Generic Imaging Component that has a...

2 years ago | 0

Answered
Mac Warning: Name is nonexistent or not a directory
Does the mac care about the direction of the slash in the path (Windows doesn't)? Try using all forward slashes. Try leaving o...

2 years ago | 1

Answered
xline - draw a partial line
You can use line or plot instead of xline

2 years ago | 0

Answered
I have basic understanding of MATLAB, how do i move forward
Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central

2 years ago | 0

| accepted

Answered
How can I remove the central pattern (near 0 hz value) correctly?
It looks like it's deleting the spectrum along the axes. If you just want the central spot, then just erase that: [rows, colum...

2 years ago | 0

Answered
Find brightest frame in video file
See my attached demo that runs through a video getting the mean R, G, and B, and gray scale brightness. Once you've run though ...

2 years ago | 1

| accepted

Answered
PROBLEMS WITH SAVING PATHFOLDERS
I noticed that you included the drive letter in one path but not the others. Try putting the drive letter in all paths. What o...

2 years ago | 0

Answered
create animation from several figures
See my attached movie demos, especially movie_made_from_plot and movie_made_from_surf.m.

2 years ago | 1

Load more