Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Browsing all 19628 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Re: Angstrom in Matlab

You may find the character under a latex character for your version of Matlab (it's not in mine which is R14 :<( ), then you can try for instance xlabel('$$\AA$$','interpreter','latex') (the above...

View Article


Image may be NSFW.
Clik here to view.

Re: What is the difference between "fdesign" and "fir" ?

FIR stands for finite impulse response, see e.g.: http://en.wikipedia.org/wiki/Finite_impulse_response On the other hand fdesign is a component of the matlab toolbox for designing for instance FIR...

View Article


Image may be NSFW.
Clik here to view.

about rls algorithm code

below is the matlab code for the rls algorithm for noise cancellation.can anybody explain me clearly what the code does with an example of N and waveform.I tried to understand since 2 days but could...

View Article

Image may be NSFW.
Clik here to view.

Re: fmincon function error

Chris, Thanks for reverting on this. 2012a Student version @nLinCons calls this function nLinCons:        function [c,ceq]=nLinCons(x)            c(1) = T*x(3)^2 - 1; %constriant (nu^2*T)<1...

View Article

Image may be NSFW.
Clik here to view.

regarding fixdt

When I mention the data type as fixdt(0,8,3) in a constant block, The total wordlength is 8bits, fractional length is 3 bits. So the remaing 5 bits allocated for integer part. So If I enter any value...

View Article


Image may be NSFW.
Clik here to view.

Re: fmincon function error

Unfortunately I have an earlier version without classifyBoundsOnVars in fmincon, but I'll do my best: I am a little puzzled since nLinCons evaluates a variable T but that variable is not among the...

View Article

Image may be NSFW.
Clik here to view.

rank deficient system

Dear Matlab users, I am running the code below: function GSVD_fad no_samples=1e3; SNR_dB=-5:5:35; SNR_linear=10.^(SNR_dB/10); Cs=zeros(6,length(SNR_dB)); for Icase=1:6    if Icase==1, nt=2; nm=2; ne=2;...

View Article

Image may be NSFW.
Clik here to view.

Re: about rls algorithm code

The algorithm you posted is outlined under the seciton RLS algorithm summary in http://en.wikipedia.org/wiki/Recursive_least_squares_filter and you are sure to find more online. Other than that I can...

View Article


Image may be NSFW.
Clik here to view.

Re: What is the difference between "fdesign" and "fir" ?

"Chris " <cfweise@yahoo.com> wrote in message <ksgeme$ntr$1@newscl01ah.mathworks.com>...> FIR stands for finite impulse response, see e.g.: > >...

View Article


Image may be NSFW.
Clik here to view.

find position in a vector

Hello there, I have a vector of>> x = [200;500;400;480;900;560;820;0] I want to have a vector Y that x > 200. So I wrote>> y = x(x > x(1)) So I get "500 400 480 900 560 820" It...

View Article

Image may be NSFW.
Clik here to view.

Re: Baseline Subtraction

Can you post some code showing what you've tried, or explain where what you are doing fails?

View Article

Image may be NSFW.
Clik here to view.

Re: onCleanup for Ctrl-C

"Daniel " <bri.danlee@gmail.com.removethis> wrote in message <ksdk9b$gg5$1@newscl01ah.mathworks.com>...> Hello everyone,> > I have been using "onCleanup" to do some work when a...

View Article

Image may be NSFW.
Clik here to view.

Re: find position in a vector

Try this: x.*(x>200)

View Article


Image may be NSFW.
Clik here to view.

Re: find position in a vector

On 7/22/2013 10:56 AM, Antonio Valentine wrote: ... [given]>>> x = [200;500;400;480;900;560;820;0]>> I want to have a vector Y that x > 200. So I wrote>>>> y = x(x >...

View Article

Image may be NSFW.
Clik here to view.

Re: find position in a vector

On 7/22/2013 10:56 AM, Antonio Valentine wrote: ... [given]>>> x = [200;500;400;480;900;560;820;0]>> I want to have a vector Y that x > 200. So I wrote>>>> y = x(x >...

View Article


Image may be NSFW.
Clik here to view.

Re: using "eval" with strings from a cell array

On 7/22/2013 10:43 AM, Jakob wrote:> for the next one to run into this problem here is the simple solution:> char( yourcell{} ) And generally the wiser choice in most cases is to not use "evil...

View Article

Image may be NSFW.
Clik here to view.

Re: derivatives, syms and fsolve

"Steven_Lord" <slord@mathworks.com> wrote in message <kqvc0t$2u3$1@newscl01ah.mathworks.com>...> > > "Shubham Gupta" <king.rona@gmail.com> wrote in message >...

View Article


Image may be NSFW.
Clik here to view.

Generating sequence of 0s and 1s with no repetition

Hello. I need to generate a sequence of 100 numbers composed of 0s and 1s only. But I must guarantee that no more that 3 repetitions occur. For xample: 1 2 2 1 2 2 1 1 1 2 1... its ok 1 2 1 2 2 2 2 1...

View Article

Image may be NSFW.
Clik here to view.

Re: Generating sequence of 0s and 1s with no repetition

On 7/22/2013 1:32 PM, Vitor wrote:> Hello.> I need to generate a sequence of 100 numbers composed of 0s and 1s only.> But I must guarantee that no more that 3 repetitions occur.> For...

View Article

Image may be NSFW.
Clik here to view.

Re: improving the condition number of a matrix

On 7/22/2013 8:20 AM, El wrote:> Hi,>> I generate a matrix with random elements and it is supposed to be full rank, If it is a random generated, how would you guarantee this?>but sometimes...

View Article
Browsing all 19628 articles
Browse latest View live