zdata=[0 1 0 0.05 0 2 0 0.075 1 2 0 0.75 1 3 0 0.30 2 3 0 0.45];
Zbus=zbuild(zdata)
symfault(zdata, Zbus)
zbuild doesnt work!

4 Comments

are you sure is there a command like 'zbuild()' ?
that's the problem....i'm not sure....i found this code in H.sadat Book.
Copy the code from that book!
actually i did so here is the explanation....

Sign in to comment.

 Accepted Answer

Walter Roberson
Walter Roberson on 3 Jan 2022

0 votes

You need the PSAT toolbox.
The official repositories for it do not appear to be accessible, but you can find it at https://github.com/Sinan81/PSAT

2 Comments

thanks but i didnt find it.is there another way like changing the code?
I had no problem. That github page includes a download link, https://github.com/Sinan81/PSAT/archive/refs/heads/master.zip . Save that file, unzip it into an appropriate directory ( not under the MATLAB installation directory). That will give you a PSAT-master directory. Use pathtool() in MATLAB to add PSAT-master/psat-mat/psat to your MATLAB path.

Sign in to comment.

More Answers (1)

Chandana
Chandana on 24 Nov 2023

0 votes

zdata=[ 0 1 0 0.2
0 2 2 0.4
1 2 0 0.8
1 3 0 0.4
2 3 0 0.4];
zbus=zbuild (zdata)
symfault(zdata,zbus)

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2016b

Community Treasure Hunt

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

Start Hunting!