Answered
How to create slices of a 3D Volume?
Well I can help you with the lines, set the _'edgecolor'_ to _'none'_ [x,y] = meshgrid(1:15,1:15); tri = delaunay(x,y); z...

12 years ago | 0

| accepted

Answered
imshow inhibits gui from running minimized
Specify the parent for imshow to plot to inside of imshow, rather than as |axes(handles.axes1)| ax = gca; imshow('camerama...

12 years ago | 0

| accepted

Answered
Assign to a 'protected' property of TreeBagger object
The property is protected to make sure that you can't interfere with the operation of the TreeBagger object. If you need access...

12 years ago | 0

Answered
How to keep time (Not tic toc)
Convert the times to date numbers: doc datenum

12 years ago | 0

Answered
doulbe the size of all elements in a matrix
B = kron(A,ones(2));

12 years ago | 1

| accepted

Answered
How can i calculate the velocity of al those rats in X and Y coordinates
To get the data into MATLAB, use the Import Tool on the left hand side of the toolstrip or double click the file in the current ...

12 years ago | 0

Answered
Is it possible to obtain the script file for the fitlm function?
edit fitlm And since fitlm is just a wrapper around LinearModel.fit: edit LinearModel.fit

12 years ago | 0

| accepted

Answered
DAQ session error within a guide interface
|preview| is an option to preview an image, it'll be different for daq. I don't have access to any hardware right now but you'l...

12 years ago | 0

Answered
Why does this while loop acts like an infinite loop
Put a break point on the first line and then step through. You can out a breakpoint by clicking on the dash next to the |while|...

12 years ago | 1

Answered
Error in using Inline function and fzero
Avoid using |inline|, instead use an <http://www.mathworks.com/help/releases/R2014a/matlab/matlab_prog/anonymous-functions.html ...

12 years ago | 0

Answered
find is working in strange way
r = [1 5 8] c = [2 3 6] x = zeros(10) x(r,c) = 1 I'd guess what you want is to use |sub2ind| to use each combo of r and ...

12 years ago | 1

| accepted

Answered
??? Undefined function or variable - Matlab R2011a
I've never heard of |ampplot| and I cannot find it with a full product install. What does the following return on both the us...

12 years ago | 0

Answered
Help finding when the object is closest to the origin
You could use one of the optimization functions to find the minimum time. For example: fx = @(t)5*t-10; fy = @(t)25*(t.^2...

12 years ago | 0

Answered
Is there no one with the knowledge of cell operation :(
First, you asked the first question on here just a few hours ago. Contributors on this page are unpaid volunteers so it cannot ...

12 years ago | 2

Answered
Numerical integration of product of two data sets
So: T*trapz(V,P_el.*f.') If _P_el_ and _f_ are both functions of _V_. Note the transpose since f was the only vector ...

12 years ago | 0

Answered
Assign value zero to n elements of cell array
myCell(1,:) = {0} * Left hand side: use () to keep it as cells not braces for extraction of the content of cells. * Righ...

12 years ago | 13

| accepted

Answered
Using textscan for large .txt data files
I would use the Import Tool to generate a function that calls |textscan|. # To do this, make a second text file with the fi...

12 years ago | 0

Answered
can i make a logical of a matrix the same size as a matrix?
Have you seen the Image Processing Toolbox's <http://www.mathworks.com/help/releases/R2014a/images/ref/activecontour.html |activ...

12 years ago | 0

Answered
Questions on event attributes
I think you are looking for the property attribute _'SetObservable'_ <http://www.mathworks.com/help/releases/R2014a/matlab/ma...

12 years ago | 0

Answered
No help found for myfunc.m?
Run the following to reset the path in 14a to the default in case you have your own |pathdef.m| file: restoredefaultpath r...

12 years ago | 1

Answered
Save Camera Calibration Parameters
With MATLAB R2014a, you can generate equivalent code with the app. <http://www.mathworks.com/help/releases/R2014a/vision/rele...

12 years ago | 0

Answered
How to create general linear model fit?
doc glmfit doc fitlm A few places to start

12 years ago | 0

Answered
Why do I receive a java.lang.NullPointerException and ComponentSizeAggregator error in the log file when attempting to install?
The directory that you have to remove will likely look something like: C:\Users\[yourusername]\Downloads\MathWorks\R2014a ...

12 years ago | 2

Answered
Error Installing 2014a Installer has encountered a Problem and quits
The other solution that you commented on is correct. The directory that you have to remove will look like: C:\Users\[youru...

12 years ago | 4

| accepted

Answered
Calculate the Cone angle of a spray image
Here's the approach I would take. Segment the plume, sum up the rows, calculate the slope of the rows up to the peaks, polyfit ...

12 years ago | 1

Answered
Help me download Matlab 2013b please. Its really urgent
Contact MathWorks' installation support.

12 years ago | 0

Answered
How to use invert values of a logical array
A = [1 1 1 1 1 0 1 0 1 0 1 1 1 1 1] toggle = logical([0 0 0 0 0 1 1 1 1 1 0 0 0 0 0]...

12 years ago | 2

| accepted

Answered
how to find average value of floating numbers ??
Use |unique| to generate indices of unique floating point values A = [0.33,0;0.53,0.2;0.433,0.2;0.11,0.5;0.95,0.4;0.99,0.5;...

12 years ago | 0

| accepted

Solved


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

12 years ago

Solved


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

12 years ago

Load more