Skip to content

Commit

Permalink
Merge pull request #21 from ahmedosama07/ahmedosama07-patch-1
Browse files Browse the repository at this point in the history
Update longLine.m
  • Loading branch information
ahmedosama07 authored Apr 25, 2023
2 parents 4a6ffcb + 9929a86 commit a4e98f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions longLine.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
fprintf("*The distributed nature of the parameters is considered.\n");
fprintf("*The resistance, inductance, and capacitance of the line are not lumped.\n");

fprintf("Line impedance: %.3f ∠ %.3f° Ω", abs(Z), rad2deg(andle(Z)));
fprintf("Capacitive admitance: %.3f ∠ %.3f° ℧", abs(Y), rad2deg(andle(Y)));
fprintf("Line impedance: %.3f ∠ %.3f° Ω", abs(Z), rad2deg(angle(Z)));
fprintf("Capacitive admitance: %.3f ∠ %.3f° ℧", abs(Y), rad2deg(angle(Y)));

[A, B, C, D] = struct('x', num2cell([NaN, NaN, NaN, NaN])).x;
end
end

0 comments on commit a4e98f8

Please sign in to comment.