SlideShare a Scribd company logo
The Singular Value
Decomposition
SVD
• SVD exists for any matrix
• Definition:
• For square matrices A  Cnm
, there exist orthogonal matrices U  Cnn
and a diagonal matrix   Cnm
,
such that all the diagonal values i of  are non-negative and first value is largest .V is also orthogonal
matrix V  C
mm
.
• SVD used to obtain low-rank approximations to matrices and to perform pseudo-inverses of non-square
matrices to find the solution of a system of equations Ax = b .
T
A U V
 
=
A U 
T
V
Properties of SVD
• The diagonal values of  (1, …, n) are called the singular values. It is sort like: 1  2 …  n
• The columns of U (u1, …, un) are called the left singular vectors. They are the axes of the ellipsoid.
• The columns of V (v1, …, vn) are called the right singular vectors. They are the pre-images
T
A U V
 
=
A U  T
V
Singular values
• If m>=n if m<n
Zeros
Zeros
Full SVD Reduce SVD
Zeros
Code
img=imread("img.png");% Reading image
B=im2double(img);% coverting to double precsion
image
imgBlack=rgb2gray(B);
%imshow(imgBlack);
[U1 S1 V1]=svd(imgBlack,'econ');
img1=U1(:,1:100)*S1(1:100,1:100)*V1(:,1:100)';
%imshow(img1)
img1=U1(:,1:400)*S1(1:400,1:400)*V1(:,1:400)';
%imshow(img1)
img1=U1(:,1:700)*S1(1:700,1:700)*V1(:,1:700)';
%imshow(img1)
First Reduction (100 pixel)
Original Image After SVD
Second Reduction (400 pixel)
Original Image After SVD
Third Reduction (700 pixel)
Original Image After SVD
Singular values of above images

More Related Content

What's hot

Matrix Completion Presentation
Matrix Completion PresentationMatrix Completion Presentation
Matrix Completion Presentation
Michael Hankin
 
Chapter 22 Finite Field
Chapter 22 Finite FieldChapter 22 Finite Field
Chapter 22 Finite Field
Tony Cervera Jr.
 
Divide and Conquer - Part 1
Divide and Conquer - Part 1Divide and Conquer - Part 1
Divide and Conquer - Part 1
Amrinder Arora
 
Pixel relationships
Pixel relationshipsPixel relationships
Eigenvalues and eigenvectors of symmetric matrices
Eigenvalues and eigenvectors of symmetric matricesEigenvalues and eigenvectors of symmetric matrices
Eigenvalues and eigenvectors of symmetric matrices
Ivan Mateev
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
Mohammed Bennamoun
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
Abinaya B
 
Hmm viterbi
Hmm viterbiHmm viterbi
Hmm viterbi
Digvijay Singh
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzification
Nourhan Selem Salm
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
Ehsan Hamzei
 
Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matrices
EasyStudy3
 
Dimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applicationsDimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applications
Viet-Trung TRAN
 
Parallel sorting algorithm
Parallel sorting algorithmParallel sorting algorithm
Parallel sorting algorithm
Richa Kumari
 
Rough K Means - Numerical Example
Rough K Means - Numerical ExampleRough K Means - Numerical Example
Rough K Means - Numerical Example
Dr.E.N.Sathishkumar
 
Intensity Transformation
Intensity TransformationIntensity Transformation
Intensity Transformation
Amnaakhaan
 
0 1 knapsack using branch and bound
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and bound
Abhishek Singh
 
Crisp Realation
Crisp RealationCrisp Realation
Crisp Realation
VijayaLakshmi506
 
Visibility graphs
Visibility graphsVisibility graphs
Visibility graphs
Gaurav Gupta
 
Relations in Discrete Math
Relations in Discrete MathRelations in Discrete Math
Relations in Discrete Math
Pearl Rose Cajenta
 
Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectors
Amit Singh
 

What's hot (20)

Matrix Completion Presentation
Matrix Completion PresentationMatrix Completion Presentation
Matrix Completion Presentation
 
Chapter 22 Finite Field
Chapter 22 Finite FieldChapter 22 Finite Field
Chapter 22 Finite Field
 
Divide and Conquer - Part 1
Divide and Conquer - Part 1Divide and Conquer - Part 1
Divide and Conquer - Part 1
 
Pixel relationships
Pixel relationshipsPixel relationships
Pixel relationships
 
Eigenvalues and eigenvectors of symmetric matrices
Eigenvalues and eigenvectors of symmetric matricesEigenvalues and eigenvectors of symmetric matrices
Eigenvalues and eigenvectors of symmetric matrices
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
 
Image filtering in Digital image processing
Image filtering in Digital image processingImage filtering in Digital image processing
Image filtering in Digital image processing
 
Hmm viterbi
Hmm viterbiHmm viterbi
Hmm viterbi
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzification
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
 
Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matrices
 
Dimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applicationsDimensionality reduction: SVD and its applications
Dimensionality reduction: SVD and its applications
 
Parallel sorting algorithm
Parallel sorting algorithmParallel sorting algorithm
Parallel sorting algorithm
 
Rough K Means - Numerical Example
Rough K Means - Numerical ExampleRough K Means - Numerical Example
Rough K Means - Numerical Example
 
Intensity Transformation
Intensity TransformationIntensity Transformation
Intensity Transformation
 
0 1 knapsack using branch and bound
0 1 knapsack using branch and bound0 1 knapsack using branch and bound
0 1 knapsack using branch and bound
 
Crisp Realation
Crisp RealationCrisp Realation
Crisp Realation
 
Visibility graphs
Visibility graphsVisibility graphs
Visibility graphs
 
Relations in Discrete Math
Relations in Discrete MathRelations in Discrete Math
Relations in Discrete Math
 
Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectors
 

Similar to The Singular Value Decomposition theroy + example

15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
SujalGupta60
 
LinearAlgebraReview.ppt
LinearAlgebraReview.pptLinearAlgebraReview.ppt
LinearAlgebraReview.ppt
Rahul Halder
 
LinearAlgebraReview.ppt
LinearAlgebraReview.pptLinearAlgebraReview.ppt
LinearAlgebraReview.ppt
ShobhitTyagi46
 
Image compression using singular value decomposition
Image compression using singular value decompositionImage compression using singular value decomposition
Image compression using singular value decomposition
PRADEEP Cheekatla
 
Digital image processing fundamental explanation
Digital image processing fundamental explanationDigital image processing fundamental explanation
Digital image processing fundamental explanation
Tirusew1
 
งานนำเสนอMatrix
งานนำเสนอMatrixงานนำเสนอMatrix
งานนำเสนอMatrix
krunittayamath
 
10.1 Circle Vocabulary and Tangents
10.1 Circle Vocabulary and Tangents10.1 Circle Vocabulary and Tangents
10.1 Circle Vocabulary and Tangents
smiller5
 
งานนำเสนอMatrixของจริง
งานนำเสนอMatrixของจริงงานนำเสนอMatrixของจริง
งานนำเสนอMatrixของจริง
Nittaya Noinan
 
Harris corner detector and face recognition
Harris corner detector and face recognitionHarris corner detector and face recognition
Harris corner detector and face recognition
Shih Wei Huang
 
SVD sath.ppt
SVD sath.pptSVD sath.ppt
SVD sath.ppt
SathishShetty13
 
Graph Algorithms
Graph AlgorithmsGraph Algorithms
Graph Algorithms
Ashwin Shiv
 
Applied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdfApplied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdf
PrasadBaravkar1
 
Lecture_9_LA_Review.pptx
Lecture_9_LA_Review.pptxLecture_9_LA_Review.pptx
Lecture_9_LA_Review.pptx
Sunny432360
 
10.graph
10.graph10.graph
Mathematics fundamentals
Mathematics fundamentalsMathematics fundamentals
Mathematics fundamentals
Sardar Alam
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
RohanBorgalli
 
EE8120_Projecte_15
EE8120_Projecte_15EE8120_Projecte_15
EE8120_Projecte_15
Farhad Gholami
 
Matrix Factorisation (and Dimensionality Reduction)
Matrix Factorisation (and Dimensionality Reduction)Matrix Factorisation (and Dimensionality Reduction)
Matrix Factorisation (and Dimensionality Reduction)
HJ van Veen
 
matrices.pptx
matrices.pptxmatrices.pptx
matrices.pptx
anonymus67
 
Module 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdfModule 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdf
PrathamPatel560716
 

Similar to The Singular Value Decomposition theroy + example (20)

15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
 
LinearAlgebraReview.ppt
LinearAlgebraReview.pptLinearAlgebraReview.ppt
LinearAlgebraReview.ppt
 
LinearAlgebraReview.ppt
LinearAlgebraReview.pptLinearAlgebraReview.ppt
LinearAlgebraReview.ppt
 
Image compression using singular value decomposition
Image compression using singular value decompositionImage compression using singular value decomposition
Image compression using singular value decomposition
 
Digital image processing fundamental explanation
Digital image processing fundamental explanationDigital image processing fundamental explanation
Digital image processing fundamental explanation
 
งานนำเสนอMatrix
งานนำเสนอMatrixงานนำเสนอMatrix
งานนำเสนอMatrix
 
10.1 Circle Vocabulary and Tangents
10.1 Circle Vocabulary and Tangents10.1 Circle Vocabulary and Tangents
10.1 Circle Vocabulary and Tangents
 
งานนำเสนอMatrixของจริง
งานนำเสนอMatrixของจริงงานนำเสนอMatrixของจริง
งานนำเสนอMatrixของจริง
 
Harris corner detector and face recognition
Harris corner detector and face recognitionHarris corner detector and face recognition
Harris corner detector and face recognition
 
SVD sath.ppt
SVD sath.pptSVD sath.ppt
SVD sath.ppt
 
Graph Algorithms
Graph AlgorithmsGraph Algorithms
Graph Algorithms
 
Applied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdfApplied Mathematics 3 Matrices.pdf
Applied Mathematics 3 Matrices.pdf
 
Lecture_9_LA_Review.pptx
Lecture_9_LA_Review.pptxLecture_9_LA_Review.pptx
Lecture_9_LA_Review.pptx
 
10.graph
10.graph10.graph
10.graph
 
Mathematics fundamentals
Mathematics fundamentalsMathematics fundamentals
Mathematics fundamentals
 
Dimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptxDimension Reduction Introduction & PCA.pptx
Dimension Reduction Introduction & PCA.pptx
 
EE8120_Projecte_15
EE8120_Projecte_15EE8120_Projecte_15
EE8120_Projecte_15
 
Matrix Factorisation (and Dimensionality Reduction)
Matrix Factorisation (and Dimensionality Reduction)Matrix Factorisation (and Dimensionality Reduction)
Matrix Factorisation (and Dimensionality Reduction)
 
matrices.pptx
matrices.pptxmatrices.pptx
matrices.pptx
 
Module 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdfModule 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdf
 

More from shivam choubey

Simulation Investigation of Separated Nozzle Flows
Simulation Investigation of Separated Nozzle FlowsSimulation Investigation of Separated Nozzle Flows
Simulation Investigation of Separated Nozzle Flows
shivam choubey
 
steady state CFD simulation on basic shapes and calculate Cd value
steady state CFD simulation on basic shapes and calculate Cd valuesteady state CFD simulation on basic shapes and calculate Cd value
steady state CFD simulation on basic shapes and calculate Cd value
shivam choubey
 
External Aerodynamics (Ahmed body)
External Aerodynamics (Ahmed body)External Aerodynamics (Ahmed body)
External Aerodynamics (Ahmed body)
shivam choubey
 
Airfoil Analysis(NACA 0012 ) Ansys Fluent
Airfoil Analysis(NACA 0012 ) Ansys FluentAirfoil Analysis(NACA 0012 ) Ansys Fluent
Airfoil Analysis(NACA 0012 ) Ansys Fluent
shivam choubey
 
Couette flow Ansys simulation
Couette flow Ansys simulationCouette flow Ansys simulation
Couette flow Ansys simulation
shivam choubey
 
Mixing elbow simulation Ansys
Mixing elbow simulation AnsysMixing elbow simulation Ansys
Mixing elbow simulation Ansys
shivam choubey
 
Solve the set of linear equations
Solve the set of linear equationsSolve the set of linear equations
Solve the set of linear equations
shivam choubey
 
sin cos & tan (Plot using MATLAB)
sin cos  & tan (Plot using MATLAB)sin cos  & tan (Plot using MATLAB)
sin cos & tan (Plot using MATLAB)
shivam choubey
 
1-D Steady Heat conduction FDM
1-D Steady Heat conduction FDM1-D Steady Heat conduction FDM
1-D Steady Heat conduction FDM
shivam choubey
 
The finite volume method for diffusion problems
The finite volume method for diffusion problemsThe finite volume method for diffusion problems
The finite volume method for diffusion problems
shivam choubey
 

More from shivam choubey (10)

Simulation Investigation of Separated Nozzle Flows
Simulation Investigation of Separated Nozzle FlowsSimulation Investigation of Separated Nozzle Flows
Simulation Investigation of Separated Nozzle Flows
 
steady state CFD simulation on basic shapes and calculate Cd value
steady state CFD simulation on basic shapes and calculate Cd valuesteady state CFD simulation on basic shapes and calculate Cd value
steady state CFD simulation on basic shapes and calculate Cd value
 
External Aerodynamics (Ahmed body)
External Aerodynamics (Ahmed body)External Aerodynamics (Ahmed body)
External Aerodynamics (Ahmed body)
 
Airfoil Analysis(NACA 0012 ) Ansys Fluent
Airfoil Analysis(NACA 0012 ) Ansys FluentAirfoil Analysis(NACA 0012 ) Ansys Fluent
Airfoil Analysis(NACA 0012 ) Ansys Fluent
 
Couette flow Ansys simulation
Couette flow Ansys simulationCouette flow Ansys simulation
Couette flow Ansys simulation
 
Mixing elbow simulation Ansys
Mixing elbow simulation AnsysMixing elbow simulation Ansys
Mixing elbow simulation Ansys
 
Solve the set of linear equations
Solve the set of linear equationsSolve the set of linear equations
Solve the set of linear equations
 
sin cos & tan (Plot using MATLAB)
sin cos  & tan (Plot using MATLAB)sin cos  & tan (Plot using MATLAB)
sin cos & tan (Plot using MATLAB)
 
1-D Steady Heat conduction FDM
1-D Steady Heat conduction FDM1-D Steady Heat conduction FDM
1-D Steady Heat conduction FDM
 
The finite volume method for diffusion problems
The finite volume method for diffusion problemsThe finite volume method for diffusion problems
The finite volume method for diffusion problems
 

Recently uploaded

ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 

Recently uploaded (20)

ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 

The Singular Value Decomposition theroy + example

  • 2. SVD • SVD exists for any matrix • Definition: • For square matrices A  Cnm , there exist orthogonal matrices U  Cnn and a diagonal matrix   Cnm , such that all the diagonal values i of  are non-negative and first value is largest .V is also orthogonal matrix V  C mm . • SVD used to obtain low-rank approximations to matrices and to perform pseudo-inverses of non-square matrices to find the solution of a system of equations Ax = b . T A U V   = A U  T V
  • 3. Properties of SVD • The diagonal values of  (1, …, n) are called the singular values. It is sort like: 1  2 …  n • The columns of U (u1, …, un) are called the left singular vectors. They are the axes of the ellipsoid. • The columns of V (v1, …, vn) are called the right singular vectors. They are the pre-images T A U V   = A U  T V
  • 4. Singular values • If m>=n if m<n Zeros Zeros Full SVD Reduce SVD Zeros
  • 5. Code img=imread("img.png");% Reading image B=im2double(img);% coverting to double precsion image imgBlack=rgb2gray(B); %imshow(imgBlack); [U1 S1 V1]=svd(imgBlack,'econ'); img1=U1(:,1:100)*S1(1:100,1:100)*V1(:,1:100)'; %imshow(img1) img1=U1(:,1:400)*S1(1:400,1:400)*V1(:,1:400)'; %imshow(img1) img1=U1(:,1:700)*S1(1:700,1:700)*V1(:,1:700)'; %imshow(img1)
  • 6. First Reduction (100 pixel) Original Image After SVD
  • 7. Second Reduction (400 pixel) Original Image After SVD
  • 8. Third Reduction (700 pixel) Original Image After SVD
  • 9. Singular values of above images

Editor's Notes

  1. 2
  2. 3