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 Kommentare

Yusuf Suer Erdem
Yusuf Suer Erdem am 2 Jan. 2022
are you sure is there a command like 'zbuild()' ?
arian hoseini
arian hoseini am 2 Jan. 2022
that's the problem....i'm not sure....i found this code in H.sadat Book.
Star Strider
Star Strider am 2 Jan. 2022
Copy the code from that book!
arian hoseini
arian hoseini am 3 Jan. 2022
actually i did so here is the explanation....

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Jan. 2022

0 Stimmen

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 Kommentare

arian hoseini
arian hoseini am 3 Jan. 2022
thanks but i didnt find it.is there another way like changing the code?
Walter Roberson
Walter Roberson am 3 Jan. 2022
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Chandana
Chandana am 24 Nov. 2023

0 Stimmen

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)

Kategorien

Produkte

Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by