Gelöst


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...

mehr als 11 Jahre vor

Gelöst


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

mehr als 11 Jahre vor

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

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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); ...

mehr als 11 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 2

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

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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. ...

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

Beantwortet
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 ...

mehr als 11 Jahre vor | 0

Beantwortet
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|.

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 13

| akzeptiert

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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.

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 1

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

Beantwortet
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...

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 2

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

mehr als 11 Jahre vor | 2

| akzeptiert

Mehr laden