Resuelto


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

más de 11 años hace

Resuelto


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

más de 11 años hace

Respondida
how to display using subplot one by one.
Add this line to the first part of your for-loop subplot(2,2,i)

más de 11 años hace | 0

Respondida
Threshold value question using otsu method
Show us an image! Without an image, it's very difficult if not impossible to guess at what you need. Have you tried the mult...

más de 11 años hace | 0

Respondida
Creating a rock shape
% My Rock x = randn(1000,1); y = randn(1000,1); z = randn(1000,1); % Alpha Shape and plot as = alphaShape(x,y,z,4); ...

más de 11 años hace | 3

| aceptada

Respondida
programmatic GUI callback function
I fyou're using a version of MATLAB < R2014b, |hObject.Value| won't work. That syntax is added in R2014b. If your company/un...

más de 11 años hace | 0

Respondida
Maximum variable size allowed by the program is exceeded.
That array will require: 8*11*6^11 ans = 3.1926e+10 Just under 32gb. To do anything with it will require a copy or...

más de 11 años hace | 0

| aceptada

Respondida
I am trying to create a table but somehow can't.
Table was added in R2013b. If you're using an older release, tables won't work. If your company/university is current on maint...

más de 11 años hace | 0

Respondida
Why does the || absolutely not work?
How about just using |ismember| if any(ismember('oe',location)) disp(true) end

más de 11 años hace | 2

Respondida
How can I create gui compatible in all screen resolutions or display?
>>web(fullfile(docroot, 'matlab/creating_guis/designing-for-cross-platform-compatibility.html'))

más de 11 años hace | 0

Respondida
finding max points of an inline function?
First, don't use |inline|, it's been deprecated; use anonymous functions instead. Next, use |fminsearch| to find the minimum of...

más de 11 años hace | 0

| aceptada

Respondida
selecting a specific range in a matrix and cell array
Just use two lines of code. There's no shame in doing this. And since MATLAB passes implicitly by reference anyway, it won't r...

más de 11 años hace | 0

Respondida
How to select the x-value of the maximum of a figure (without using ginput)?
You could use |datacursortmode| the axes _'ButtonDownFcn'_ or |max()| on the |line|'s _'YData'_. This is what I would do. ...

más de 11 años hace | 0

Respondida
Uitable column width setting
Yes, it can be a cell array with numbers and _'auto'_ interleaved. web(fullfile(docroot, 'matlab/ref/uitable-properties.htm...

más de 11 años hace | 1

| aceptada

Respondida
Is there a command that simulates ginput?
You could use the java.awt.Robot but this workflow sounds horrible. What are you trying to do? Can you give a minimal working ...

más de 11 años hace | 0

Respondida
How to crop an image and automatically crop another image with same positioning?
One of the outputs from <http://www.mathworks.com/help/releases/R2014b/images/ref/imcrop.html |imcrop|> is the bounding rectangl...

más de 11 años hace | 1

Respondida
how can i create non rigid registration before after can some body help me
doc imregdemons doc imwarp

más de 11 años hace | 0

Respondida
Read .seq file in MATLAB
<http://www.mathworks.com/matlabcentral/fileexchange/36417-yuv-files-reading-and-converting FEX> perhaps?

más de 11 años hace | 0

Respondida
Pull out certain strings from a text file
Just use the import tool: * Right click on the file in the current folder browser * Select "Import Data" * Select the data ...

más de 11 años hace | 0

Respondida
how to draw a free hand box on an image to select that region of interest?
To force it to a rectangle, use |imrect| which has the same api as |imfreehand|.

más de 11 años hace | 0

| aceptada

Respondida
i need the matlab code for programming qr function
doc qr

más de 11 años hace | 1

Respondida
How to find the mean and leave out the zeros?
mnz = mean(nonzeros(x))

más de 11 años hace | 13

| aceptada

Respondida
xlsread can't find file but exist() can
Are you creating absolute full file paths with both outputs of uigetfile? [FileName,PathName] = uigetfile() fn = fullfil...

más de 11 años hace | 0

Respondida
Dear Users I have the energy.txt file and i need ti extract two columns data from this file [No ,Levels]
Select Import Data on the home tab, select the file, select the columns you want and hit import.

más de 11 años hace | 0

Respondida
Can we define operators in MATLAB?
No, you can only overload the current operators. I think this is pretty close to the full list le,lt,gt,ge,eq,ne,colon,end...

más de 11 años hace | 1

Respondida
Running multiple functions simultaneously
Do you have the Parallel Computing Toolbox? If so, this is easily doable with |parfor|, |parfeval| or |batch|. If not, con...

más de 11 años hace | 0

Respondida
Parallel Computing Toolbox: Underperformance AND Cannot cancel or destroy a job that was not created by this Local cluster.
The only time I have seen that is also when something failed in a previous MATLAB session (hang/out of memory/etc.) You shoul...

más de 11 años hace | 0

Respondida
How to set a path for saving file?
Some friends doc pwd % present working directory doc fullfile % build a full file path doc uiputfile % let the user c...

más de 11 años hace | 0

Respondida
How to modify a value in code.
<http://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum>

más de 11 años hace | 2

Respondida
MATLAB R2014A - Undo/Redo buttons
You can add them to your "Quick Access Toolbar" through preferences. <</matlabcentral/answers/uploaded_files/22693/Captur...

más de 11 años hace | 2

| aceptada

Cargar más