Answered
Function definition are not supported in this context. Functions can only be created as local or nested functions in code files.(clarification and application?)
Try this as the first line to declare the function: function status = celldestiny2(A,i,j) To learn other fundamental concepts,...

2 years ago | 0

Answered
Surface roughness determined from a depth map.
Looks like youi're assuming that your brightness corresponds to depth. Assuming that's true there are several definitions of ro...

2 years ago | 1

| accepted

Answered
I lost my computer where my matlab R2019b was installed
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_do_I_release_or_deactivate_a_MATLAB_license? Lots of other good stuff in t...

2 years ago | 0

Answered
Error Message: Undefined function 'BME3202M2F' for input arguments of type 'char'.
It works for me. Watch: gain1 = 1000; gain2 = 1000; % 9 uA [ AI0Centered9, AI1Centered9, time9 ] = BME3202M2F('exp2.1(9).cs...

2 years ago | 0

Answered
Removing Noise in Image
What do we know about the circular/elliptical shape? Is it always partially outside the image? Do the streaks always emanate f...

2 years ago | 0

Answered
Using different line style, colour, and legend
Looks like you know how to use MATLAB. About all I might offer is to use the 'Color' option in plot to specify specific colors....

2 years ago | 0

| accepted

Answered
Aline images using reference markers
help cpselect help imregister

2 years ago | 0

| accepted

Answered
matlab invalid expression error
Tons of errors. I got tired of fixing them all, but I got this far in your script. You can continue to fix them one at a time ...

2 years ago | 1

| accepted

Answered
How to remove border from figure
Use exportgraphics to save the current, or designated, axes as a PNG image file: exportgraphics(gca, 'Figure 2.png'); If you o...

2 years ago | 0

Answered
how to extract binary images
You can use drawfreehand to hand trace around all the blobs you want to retain. See attached freehand_masking_demo.m. I've atta...

2 years ago | 0

Answered
How to eliminate delays in drawing a graph during modeling in Simulink, in a dashboard?
I don't know Simulink, but it MATLAB you'd call drawnow; to force an immediate update/refresh of the screen and plots.

2 years ago | 0

Answered
finding min and max values from a file
Try this. It loops over all files and finds the min and max displacement of each file, along with the times that those extrema ...

2 years ago | 1

Answered
Finding area, average and moments of parts of a segmented image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

2 years ago | 0

Answered
reverse of bwmorph(BW, 'skel' )
I don't believe the other answer will maintain separation of the pieces you split apart. It looks like it will merge them toget...

2 years ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values. "Ideas of fractal fractional using exponential kernel"
Why do you have this: k=1:j; ??? so then k is a vector but then you use it as an index with a scalar when referencing ...

2 years ago | 0

Answered
Help in plotting a graph
Try this: numPoints = 1000; x = linspace(0.03, 0.09, numPoints); y = linspace(15, -10, numPoints); plot(x, -12*ones(numPoint...

2 years ago | 0

Answered
i have detected a object in a scene image , now i want to find centroid coordinates of this object in a whole image . How do i get this ?
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

2 years ago | 0

Answered
Is it possible to programmatically get a list of all file dependencies included in my standalone application (Matlab Compiler )
I use my attached function. Obviously it only finds functions called by your functions. Even if you hard coded some filename i...

2 years ago | 0

Answered
How can I plot columnar grains?
Perhaps the Volume Viewer app on the Apps tab of the tool ribbon.

2 years ago | 0

Answered
Importing multiple files using a loop
See the FAQ document for code snippets: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

2 years ago | 0

Answered
Skipping iteration on child throwing a warning
You can use try catch: for k = 1 : 200 try % In the try block put the code that might throw an error. catch ...

2 years ago | 0

Answered
How determine prime numbers after checking if they're odd
Since z is a vector, try using a for loop over all z and checking each element one at a time.

2 years ago | 0

Answered
looking for the Matlab file "ESG_s26.mat"
If you have the financial toolbox, it's in C:\ProgramData\MATLAB\SupportPackages\R2023b\examples\finance\data

2 years ago | 0

Answered
I need a little help with tables.
Like some of the others said, the code is working in that it does give numbers in column 2 in between -5 and 5 (if that's what y...

2 years ago | 0

Answered
Rotate one image and plot on top of another
Try creating a new image by replacing only the parts of the rotated one where it's not white. Like mask = TrunkAngle_Rotation ...

2 years ago | 0

Answered
How to make horizontal and vertical axis in matlab plot?
Try this: % Method #1: figure; x = -4:11; y = 90 - 15 * x; plot(x, y, 'b-', 'LineWidth', 2); grid on; xlabel('x'); yla...

2 years ago | 5

Answered
transform infinite plane into finite circular plane
Perhaps try rescaling the appropriate variables with rescale.

2 years ago | 0

Answered
please i want to implement this formula in matlab
What input values did you supply? What output values did you get and what was expected? It's hard to follow your code because ...

2 years ago | 1

Answered
Need help plotting the parabolic signal
Hint: n = linspace(0, 10, 1000); Then stem. The derivatives can be computed analytically from the formula for n (what I'd do)...

2 years ago | 0

Answered
how can we represent a pixel to a character in image ?
Hints: imread, rgb2gray, imshow, imresize, fprintf, size. With a double for loop over rows and columns and those 6 functions, y...

2 years ago | 0

Load more