Answered
can you remove complex values from a plot
xreal = real(x) *More* x = [3+0i,5+1i,4+2i,1+0i] x(~imag(x))

11 years ago | 1

| accepted

Answered
Setting default values for plots in Matlab 2014b (OS X 10.10)
Probably need proper capitalization. This works fine for me: set(groot,'DefaultLineLineWidth',2.5) plot(1:10)

11 years ago | 0

Answered
answer this questions please?
[1] is greek to me but [2] and [3] are fairly straight forward in MuPad. That's how I'd get started: >>mupad It even gi...

11 years ago | 0

Answered
Is it possible to solve linear system of equations with parallel computing?
It sounds like you have multiple systems to solve, so I would suggest parallelizing over systems of equations. If you can provi...

11 years ago | 0

Answered
Load and Append Data files
Rather than loading directly with load filename which just creates some variables magically (we use the term "poofing"),...

11 years ago | 0

Answered
I need the code for Contourlet transform to find contours in images
I don't know about contourlets but how about: doc contourc doc activecontour ?

11 years ago | 0

Answered
Error using mtimes Inner matrix dimensions must agree
You are calling * for multiplication which means it's trying to do a matrix multiply. In order to do an elementwise multiple, u...

11 years ago | 0

| accepted

Answered
Unnest cell array with nested cells to a cell array
% Sample Data C = repmat({num2cell(1:11,1)},100,1); % Unpacked C2 = vertcat(C{:}) Unpack ( {:} ) it and use <http:...

11 years ago | 9

| accepted

Answered
rotating contourf in r2014b
What do you mean by rotate? >>rotate3d on Still works. In R2014b, contour is no longer a collection of patches but ...

11 years ago | 0

Answered
Finding slope and y intercept
Have you tried the Curve Fitting App (Curve Fitting Toolbox, req'd) >>cftool

11 years ago | 0

| accepted

Answered
How can I return a vector sorting from least to greatest without using the "sort" command?
One of the guys we play cards with sorts this way. Makes for long games but works for a small number of cards v = [4 2 7 4...

11 years ago | 0

Answered
Change in up arrow command history functionality with release 2014a
These are settings you can change. Here's mine which is the pre14a settings: <</matlabcentral/answers/uploaded_files/195...

11 years ago | 6

| accepted

Answered
How to disable automaticlly showing new plot
Rather than plotting a new on each iteration, update the "XData" and "YData" of the already existing plot: <http://www.mathwo...

11 years ago | 0

Answered
Matlab serial command to read binary data
You might be interested in doing this with the support package directly rather than using the serial port yourself <http://ww...

11 years ago | 0

Answered
Tortuosity of blood vessels
<http://www.mathworks.com/videos/medical-image-processing-with-matlab-81890.html> The second example might interest you.

11 years ago | 0

| accepted

Answered
Adding two row arrays that are different lengths
The first one: x = [1 2 3 4 5] y = [1 2 3] z = x+padarray(y,[0, numel(x)-numel(y)],0,'pre') The second: x = 2...

11 years ago | 1

Answered
rotating N-D matrices
Use a |for|-loop over the pages and |imrotate| Something like: X = your_original_2d_image Xrot = zeros([size(X) 24],'...

11 years ago | 0

| accepted

Answered
Problem while running SIMULINK on Raspbery Pi B+using Matlab 2014a
Sounds like a path issue: which Simulink.sta.FeatureControl.getFeature Should return something like _C:\Program Fil...

11 years ago | 1

| accepted

Answered
How to show a colorbar of a certain range?
In R2014b, this is now possible by setting the limits of the colorbar directly: surf(peaks) h = colorbar h.Limits = [-2 2...

11 years ago | 5

Answered
Preallocating zeros in cell array. and Which one is faster? 3D matrix, cell or structure data?
If each matrix (cell element) is the same size, then you're best off making a 3d matrix 16x3xp where p is the number ce...

11 years ago | 0

Answered
MEX usage of mldivide() produces incorrect/different results
The results are expected. If we look at the difference between F and Fmex it’s 2*eps(F) eps(max(F(:))) ans = 4.440...

11 years ago | 1

| accepted

Answered
Barweb in 2014b doesn't work any more
It looks like there are a few things in the legend call that need to change. The legend is no longer an axes so that is no long...

11 years ago | 0

Answered
How do import just the numerical data into MATLAB
Have you used the import tool which will strip off consistent units for you? <</matlabcentral/answers/uploaded_files/1954...

11 years ago | 0

Answered
diary, how to create a new one
Pass |diary| a _filename_ <http://www.mathworks.com/help/releases/R2014b/matlab/ref/diary.html>

11 years ago | 0

Answered
Is polyarea command related to fill comand?
Polyarea will calculate the area of the polygon from the vertices. Fill is probably doing a little bit more interpolation, but ...

11 years ago | 1

| accepted

Answered
Triangulate a non-convex point set
As of MATLAB R2014b, there is now a 2d and 3d |alphaShape| tool built into MATLAB. <http://www.mathworks.com/help/releases/R...

11 years ago | 0

Answered
Simple legend function no longer works in R2014B
Sounds like a shadowed file. What is the full text of the error message? Run the following: dbstop if error This wil...

11 years ago | 1

| accepted

Answered
mean of matrix elements
B = mean(reshape(x,10,[]))' Where x is your original column vector and B is the mean of every 10x1 chunk

11 years ago | 2

| accepted

Answered
Is it actually possible to use datetick?
With datetimes, if you plot them it takes care of datetick for you: plot(t) It's a new feature in 14b and it will update...

11 years ago | 0

| accepted

Answered
finding minimum value of certain row of matrix with condition
Replace the zeros with Infs and take the min: r2 = r; r2(r2==0) = inf; min(r2,[],2)

11 years ago | 0

Load more