Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
到目前为止,这就是我的代码所拥有的,但是图表根本没有出现。
`clear; clc; close all; for a = -2:1:2; y = -1:.1:1; cosh(a); sinh(a); tanh(a); end plot(a,sinh(a),a,cosh(a),a,tanh(a));`
几个问题:
cosh(a);
cosh
y
a
做就是了:a = -2:2; plot(a,sinh(a),a,cosh(a),a,tanh(a));
a = -2:2; plot(a,sinh(a),a,cosh(a),a,tanh(a));