Models based on singular value decomposion

1 Ansicht (letzte 30 Tage)
fatemeh p
fatemeh p am 11 Aug. 2020
Kommentiert: John D'Errico am 12 Aug. 2020
Hi
Im new in matlab and im trying to write a code that can creat models based on svd with 100 * 10 matrix of dataset to estimate values ​​that user wants.
So is it possible in matlab and how should i start?
Dataset is in excel file, how can i use that data in matlab?
thanks
  1 Kommentar
John D'Errico
John D'Errico am 11 Aug. 2020
Bearbeitet: John D'Errico am 11 Aug. 2020
What models based on the SVD are you thinking of? I can think of several ways to use the SVD.
An SVD is a tool of linear algebra. It is not a "modeling" tool, although there are modeling methods that have been known to use the SVD. You can solve those same problems without ever touching an SVD too.
So if you want to do something, you first need to describe what you want to model. You need to explain the model itself, and THEN you can worry about whether the SVD makes sense in context.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

hosein Javan
hosein Javan am 11 Aug. 2020
load your dataset from your excel file using this command: "A = csvread(filename)".
then you can do anything and ofcourse matlab has a svd function. "[U,S,V] = svd(A)".
matlab is a powerful tool of matrix and array manipulation, data optimization, and equation solvers.
if you are a beginner in matlab programming, start by matrix and array indexing and manipulating, "if statements", "for and while loops". the rest you get used to it.
  3 Kommentare
hosein Javan
hosein Javan am 12 Aug. 2020
you're welcome.
John D'Errico
John D'Errico am 12 Aug. 2020
Yes, but this answer tells you nothing about the SVD, or how to use it for modeling.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by