MATLAB Answers

Pls, I need your help. I have a matrix of features X(100*2071 double). Then, I applied svd() on X as in the following code. I read a lot about svd (singular value decompisition) but I can not understand what is the purpose from s as in the code.

1 view (last 30 days)
FAS
FAS on 10 Jan 2018
Edited: FAS on 10 Jan 2018
clear; clc;
load X; [ s, ~ ] = svd( X ); D = s( :, 1:20 );%100*20 %%Take only the 20 columns from s
  3 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by