Community Profile

Contact

Top 1% contributor

Always too fast to ask. Seems like just adding the extension works fine, e.g. exist('mandrill.mat') returns 2. See comment fi...

accepted

1

Answered 3 years ago

Just came over an "interesting" problem. If I run |exist('mandrill','file')|, I get false back, which I normally would interpret...

1 Answers

Asked 3 years ago

I'm working with converting a piece of Scilab code to MATLAB, where I want to process data in some text files that I got. The co...

Asked 4 years ago

Thanks a lot to both of you! Hopefully there will an easier way of doing this in the future ;) Greets!

17432 views

Responded 5 years ago

Is there any way in MATLAB to reduce the length of the line sample, as it is with i.e. Gnuplot (set key samplen 'sample length')...

Posted 5 years ago

Why not just return the variables from the function, even though the function only is plotting something? I.e. function [a b c]...

16218 views

I just installed R2010b on Ubuntu 10.10rc and everything works just fine, so I assume it's some3thing with your installation (un...

11447 views

Probably not the best question title, but didn't come to think of a better description. Is it possible to let Matlab solve a...

0

Asked 1 year ago

I've written a function that returns a function handle to a Lagrange polynomial L(x): function L = lagrange(xv,yv) % m...

Hello, I got a set of contour data obtained by [C h] = contour(X,Y,Z) which I want to split into a cell array and sort with r...

I got a set of measured load-pull (LP) data from an amplifier, which I'd like to plot as contours in the Smith chart (an example...

Lets say I have a 3D plot which I want to export to another format, can I in any way tell if the plot is a surface, or a mesh by...

Is there any way that I can get the current colormap of i.e. a surface plot returned as a string? If I have a plot, e.g. x...

I'm trying to implement a MEX function for a LMS filter (which I've already implemented in MATLAB (*.m)) in order to improve my ...

Read Rune Allnor message to see what I wanted - his suggestion was exactly what I was looking for.

7992 views

Responded 6 years ago

Thanks a lot! Exactly what I was looking for, works like a charm. drgz

Hello, just curious about something. I'm trying to plot several data vectors in a single plot and separate the different vector...

Posted 6 years ago

Been trying some of the techniques discussed in the order post; but I'm not sure if I'm on the right track. I.e. the technique ...

7702 views

Just to avoid any misunderstanding reg. my previous post; I'm modeling a nonlinear system with a linear-in-parameter model, henc...

So far I've mostly used w = pinv(H)*y; (or pseudoinverse by Bruno Luong) since I for some other similar matrices (constructed...

Thanks for the link! I haven't had time to try to implement the various methods disucssed in the other post yet, but I'll give i...

As the topic says, does anyone have any tips for improving the conditioned number of a rectangular matrix? I'm using rectangula...

Managed to figure it out: firstIdx = cellfun(@(x)x(1,1),Cn); [dummy,order] = sort(firstIdx); Cns = Cn(order);

Answered 4 years ago

I found the error; wi[m] = wi[m]+2*mu*(er[n]*xti[n]-ei[n]*xtr[m]); /* should be wi[m] = wi[m]+2*mu*(er[n]*xti[m]-ei...

Quickly written based on LMS algorithm at Wikipedia (which I think originate from Haykin's "Adaptive Filter Theory 4th Ed.") ...

Something like this? [filename pathname] = uiputfile('*.sin','Save file as'); save(fullfile(pathname,filename),'varname','-...

Hello, sorry if the subject title is misleading, but I wasn't sure how to formulate my question into a subject title, so I hope...

4058 views

That was my conclusion when I tried this; since I had to add an additional loop this did not improve the speed compared to your ...

3285 views

I could try that as well and see how it compares to the suggestion from Jan, thanks for the tip. Best regards, D.

Thanks for the help Jan! That piece of code did indeed speed up the code! With original code: http://folk.ntnu.no/mitrevsk/temp...

Load more