Respondida
Can I generate a standalone app with a trial license
I'm pretty sure you cannot compile code into a standalone app with a trial license. And I think some of the cheaper licenses wo...

alrededor de 1 año hace | 0

Respondida
Can I convert shades of red (Pink, Red, Maroon) in this RGB image to one single color, lets say blue?
See attached examples/demos.

alrededor de 1 año hace | 0

Respondida
How to make multiple lines of best fit into one scatter graph
See my attached demo. It does a piecewise linear fit over two sections, finding the best splitting point. You can adapt it to ...

alrededor de 1 año hace | 0

Respondida
What plugins to be installed for MATLAB
I don't know what you want to do. If you're acquiring your images from some medical imaging instrument and bringing them to you...

alrededor de 1 año hace | 0

Respondida
Programmatically setting a radio button from within App Designer
I wouldn't use eval. What if you just set the other buttons also if setting the one you want doesn't change the others automati...

alrededor de 1 año hace | 0

Respondida
Can someone rectify this code?
When you do this: out=[(1:1:10) ' fsolve(@myfun, Q0) '] it's trying to take a vector [1,2,3,4,5,6,7,8,9,10] and append a strin...

alrededor de 1 año hace | 0

Respondida
Plotting around zero deg. Angle
I think you have to convert to rectangular/cartesian coordinates. pol2cart might help. You can use XData and YData in imshow i...

alrededor de 1 año hace | 0

Respondida
The surface area won't round to one decimal place and I don't know how to get rid of the 'e's.
To get some other format displayed other than the default one, you can try to use format. If none of those built-in formats are...

alrededor de 1 año hace | 0

Respondida
MATLAB Optional Function Arguments
Try inputParser help inputParser

alrededor de 1 año hace | 0

Poll


Snow where you live - love it or hate it?

alrededor de 1 año hace | 40 votes | 6 comments

Respondida
edge detection and comparison
What I would do is this: First use a telecentric lens - not a regular lens. Then make sure the backgrounds are the same (lik...

alrededor de 1 año hace | 0

Respondida
How do I process and display a 10 and 12 bit image in matlab?
Use [] to scale the actual data to whatever dynamic range your display can handle. For exampls imshow(snapshot2, [], "Parent",...

alrededor de 1 año hace | 0

Respondida
How to make an subscript in this specific manner?
Put the max in braces: ylabel('$u_{max}$','interpreter','latex','FontSize',14);

alrededor de 1 año hace | 0

Respondida
please help me to resolve this this
You're taking the largest blob in each frame. Display that blob all by itself to make sure that it's the same bubble blob risin...

alrededor de 1 año hace | 0

Respondida
Find least binary palindrome greater than a natural number
Can't you just do b = dec2bin(d+1) If not, then I'm not sure what you want. I'm not sure how 17 is the smallest natural numbe...

alrededor de 1 año hace | 0

Respondida
Activation a new computer
You can deactivate a computer you no longer have access to by logging in to your Mathworks account (avatar on the upper right). ...

alrededor de 1 año hace | 1

Respondida
How do I solve this issue, Error using vertcat Dimensions of arrays being concatenated are not consistent. Error in (line 22) A = [G1 +G2 +G3 -G1 -G2;
Your top row of A has 5 elements (columns) and you're trying to put a row under it that has only 3 elements (columns). You can'...

alrededor de 1 año hace | 0

Respondida
How do I project a map from the plane to a sphere?
Here is a demo for how to map an image onto a 2.5-D surface. The surface doesn't go all the way around in 3-D though. % Demo...

alrededor de 1 año hace | 0

Respondida
what is the ebst way to learn analytical Plotting
Here is the link we usually give: Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central Lots of ideas in tthe above ...

alrededor de 1 año hace | 0

Respondida
Compressing pixelated image blocks into array
Get rid of ones(). Hopefully this well commented demo will explain since it covers three scenarios. @Sushruta Chandramouli I t...

alrededor de 1 año hace | 0

Respondida
Compressing pixelated image blocks into array
Just get rid of the ones() in your fun definition: fun = @(block_struct) mean2(block_struct.data)*ones(size(block_struct.data))...

alrededor de 1 año hace | 0

Respondida
why is my cell array being read as char
Are you sure you're getting the class of the whole cell array instead of the class of one of the contents of one cell in the arr...

alrededor de 1 año hace | 0

Respondida
How do I add generated audio to a silent video?
Did you see https://www.mathworks.com/matlabcentral/answers/434844-how-to-combine-audio-and-video?s_tid=answers_rc1-3_p3_MLT

alrededor de 1 año hace | 0

| aceptada

Respondida
Grain boundary analysis of images
You might try taking the darkest pixel in each image to combine them. Try this code: % Demo by Image Analyst % Initialization...

alrededor de 1 año hace | 0

| aceptada

Respondida
Create boundaries in an image based on porosity
Try this: % Demo by Image Analyst % Initialization steps: clc; % Clear the command window. close all; % Close all figure...

alrededor de 1 año hace | 0

Respondida
i have a matlab code with 3 for loops, in last for loop , there is threshold based penalization. i want trace some variables in that code and compare with plot
Make sure the variables you want to write out to the CSV file are all matrices (so you need to to create pout1 and put2 and inde...

alrededor de 1 año hace | 0

| aceptada

Respondida
How to connect broken lines, but no enlarge line width?
Try this to completely fill the rectangle as you asked (untested - post before image separately if you want me to test it): aft...

alrededor de 1 año hace | 0

Respondida
I need an algorithm to fill in the blank vertical path pixels.
You need an edge linking program. You basically need to label the lines with 8-connected pixels to give a label/number for each...

alrededor de 1 año hace | 0

| aceptada

Respondida
how to find curve fiitng equation through custom equation
I understand that you've measured x and y points and you want to fit these to an equation for the discharging state of charge (S...

alrededor de 1 año hace | 0

| aceptada

Respondida
Are there any methods to remove/reduce shadows in this image?
Try the Color Thresholder on the Apps tab of the tool ribbon. Use HSV colorspace and find regions with saturation less than abo...

alrededor de 1 año hace | 0

Cargar más