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

linsolve (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

linsolve(a, b)

c = linsolve(a, b)

Description

Solves the linear equation ax = b in the unknown x. If no solution exists, LabVIEW returns an error. If an infinite number of solutions exist, LabVIEW does not return an error but generates only one solution.

Examples

Inputs

Name Description
a Specifies a real or complex matrix.
b Specifies a real or complex vector.

Outputs

Name Description
c Returns a real or complex vector.

Examples

A = [1, 2, 3; 1, 3, 3; -1, -1, 2];
B = [1, 1, 1];
C = linsolve(A, B)

Related Topics

mldivide
mrdivide


Resources


 

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