Sinusoidal Random Vector question
古いコメントを表示
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 件のコメント
Jos (10584)
2016 年 5 月 31 日
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
2016 年 5 月 31 日
編集済み: John D'Errico
2016 年 5 月 31 日
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
2016 年 5 月 31 日
Macon Pharr
2016 年 5 月 31 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Predictive Coding についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

