Professional Interests: Image Processing, Image Analysis, Digital Microscopy
Top 1% contributor
As it turns out, MATLAB 2016 uses a functionSignatures.json file to configure automatic tab completion. One can easily read the ...
Answered 15 days ago
Given a string, calculate the ratio of vowels to consonants
for example :
x = 'This is a very good Day!'
y = 7/11
15 days ago
18 days ago
I want to plot thousands of objects in 3d using surf plot. My code looks like this
% src is an m x 3 matrix. Each row is...
Asked 1 year ago
I recently have to process fluorescent resonant energy transfer images, which basically involving dividing one image by another ...
3 years ago
I wrote an image browser using GUIDE (Matlab 2014a). Originally, one of the function callback looks like this, and it worked.
Asked 2 years ago
An improved version of xml2struct that converts xml document into MATLAB structure.
Ok. Here's a solution for you :
Tau = struct;
for ii = 0:9
data = load(['Tau@09_n1000_c', num2str(ii), '.mat']);
Answered 18 days ago
It's not clear from the documentation, but if you do
You'll see that it can take 'nodisplay' argumen...
Is this what you're looking for ?
<https://www.mathworks.com/help/matlab/ref/surfnorm.html Compute and display 3-D surface n...
Unlike Python, you can't use multiple inequality expression in MATLAB. You'll have to do this :
-0.1 < vec & vec < 0.1
Here's a solution
img = imread('Picture1.png');
imh = imshow(img);
% Create a mask using freehand ROI
h = imfree...
You can store data in a structure
s = struct;
s.var1 = z(9698:9797);
s.var2 = z(23298:23397);
s.var3 = z(...
Answered 19 days ago
Writing an equation solver on your own would be a tremendous undertaking. There are two easier ways:
1. Use Symbolic Math Too...
Answered 17 days ago
Read image data from Zeiss LSM files
2 months ago
Converts a structure into xml text string or an xml file
* Remove elements 2, 4, and 6 from row array pendingTasks
2 days ago
Create a logic array qualifyingIndex with true for any location where the runner is male with a running time less than 8.2. Row ...
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue.
Ex: If lowValue is 1 and ...
Construct an indexing array copySubset so that the statement reversedOrder = origOrder(copySubset); results in a row array begin...
Assume sampleReadings always contains three elements.
* Shift the array contents one position to the left.
* The rightmost ...
* Assign studentIDs with concatenated row arrays groupA and groupB
* Assign row array weightKilo with the corresponding weight in kilograms.
Use the following conversion:
kg = lb / 2.2
Generate a vector like 1,2,2,3,3,3,4,4,4,4
So if n = 3, then return
[1 2 2 3 3 3]
And if n = 5, then return
[1 2 2...
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...
Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than 5...
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...
Who is the smartest MATLAB programmer?
Input x = 'Is it Obama?'
Output = 'Me!'
Input x = 'Who ?'
Assign treeHeight with the tree height given the shadow length and angle of elevation.
Simple geometry can compute the heigh...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries