Sinusoidal Random Vector question
Show older comments
I want to create a vector of the same length as another vector called variable t. Typically, I would just use linspac; however, I do not want a linear regression. preferably, I'd like to make a sinusoidal regression if at all possible... if not any non-linear regression will do. What's the best way to go about this?
4 Comments
Jos (10584)
on 31 May 2016
This question raises to many questions.
- Do the values of the vector depend on t?
- What is your link between using linspace and linear regression?
- What do you mean by random?
- Can you give a small example?
John D'Errico
on 31 May 2016
Edited: John D'Errico
on 31 May 2016
Usually when someone posts a question like this that is so totally confusing, it is a reflection that THEY are totally, utterly confused. For example, linspace has nothing to do with linear regression. It also has nothing to do with random-ness, or anything sinusoidal for that matter.
So SLOW DOWN. Don't try to use jargon that you don't really understand. Explain your problem clearly. More words are better than fewer words. A picture would help, or an example.
Macon Pharr
on 31 May 2016
Macon Pharr
on 31 May 2016
Accepted Answer
More Answers (0)
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
