Top 5% contributor
There are a couple of different options like |writetable| ( <http://www.mathworks.com/help/matlab/ref/writetable.html doc writet...
Answered 1 month ago
Actually, in case it matters to anyone, I think I have it figured out.
The key is to download the LED control package from Di...
Answered 4 months ago
I am using the following code to output the results from a regionprops operation:
Asked 3 years ago
The question pertains to modifying file names during a batch processing operation. Basically, I would like to tr...
The question pertains to the export of data from a GUI that is 'live' processing data from an incoming datastrea...
Asked 1 month ago
The question pertains to the use of a Dino-Lite microscope (Model I'm using: AM7013MZT) via the Image Acquisitio...
Asked 4 months ago
I have a question about how to introduce an outline to a mask. Please check the original source image at: <http:...
Anthony, can you have a look at Doug Hull's tutorial on a similar question? You can find it <http://blogs.mathworks.com/videos/2...
Answered 24 days ago
The easiest solution might be to create a separate function (say, |formatString| ) that is the callback for the |editbox| and th...
Perhaps try |timeValues = [logfile_P.time]| to make a vector and then extract |timeValues(1:25)| ?
Would <http://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-ellipse-measurements/ this example> from ...
Answered 6 months ago
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
6 months ago
°C = (°F - 32) x 5/9
* Write a statement that assigns fractionalMultiplier with 5/9.
* Write a second statement that assign...
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1.
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Regardless of input, output the string 'yes'.
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Given the input n, return true if n is odd or false if n is even.
Given a and b, return the sum a+b in c.
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Can you use the Import tool ( <http://www.mathworks.com/help/matlab/import_export/select-spreadsheet-data-interactively.html MAT...
Answered 19 days ago
Would something like this work?
% Set the figure color;
f = figure(...
'color',[0 1 0]);
% Add text box co...
Answered 22 days ago
Can you use |setappdata| / |getappdata| to share the data between the different GUIs? (MATLAB wikia <http://matlab.wikia.com/wik...
Join the conversation