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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 9

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 6

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 1

Beantwortet
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],'...

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 5

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

| akzeptiert

Beantwortet
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

fast 12 Jahre vor | 2

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

Mehr laden