Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

cond (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

c = cond(a)

c = cond(a, b)

Description

Returns the condition number of a matrix using the singular value decomposition method.

Examples

Inputs

Name Description
a Specifies a matrix.
b Specifies the norm type of a. b is a scalar or string that accepts the following values.

1 1-norm
2 (default) 2-norm
inf inf-norm
'fro' Frobenius norm

Outputs

Name Description
c Returns the b-norm condition number of a. c is a scalar number.

Examples

A = [1+2i, 4i; -3-6i, -5i]
D = cond(A)

Related Topics

condeign
condestimate
norm


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit