Models based on singular value decomposion

2 vues (au cours des 30 derniers jours)
fatemeh p
fatemeh p le 11 Août 2020
Commenté : John D'Errico le 12 Août 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 commentaire
John D'Errico
John D'Errico le 11 Août 2020
Modifié(e) : John D'Errico le 11 Août 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.

Connectez-vous pour commenter.

Réponse acceptée

hosein Javan
hosein Javan le 11 Août 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 commentaires
hosein Javan
hosein Javan le 12 Août 2020
you're welcome.
John D'Errico
John D'Errico le 12 Août 2020
Yes, but this answer tells you nothing about the SVD, or how to use it for modeling.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by