P
P
pittboolean2015-04-04 02:15:54
MATLAB
pittboolean, 2015-04-04 02:15:54

The graph is not displayed in Matlab 2015, what's wrong?

The graph is not displayed in Matrlab 2015, just a white screen.
At least kill. It falls within the limits, the graph does not display.

epsilon=0.0382;
f0=451.36;
f=10:0.01:100;
eta=f/f0;
k_din=(sqrt(1-((epsilon*eta).^2)))/(sqrt(((1-(eta.^2)).^2)+((epsilon*eta).^2)) );
plot(f,k_din);
grid on;
axis([10,200,0.98,1.05]);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
piva, 2015-04-04
@piva

We just lost the dot sign and element-wise division did not work.
epsilon=0.0382;
f0=451.36;
f=10:0.01:100;
eta=f/f0;
k_din=(sqrt(1-((epsilon*eta).^2)) )./ (sqrt(((1-(eta.^2)).^2)+((epsilon*eta).^2) ));
plot(f,k_din);
grid on;
axis([10,200,0.98,1.05]);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question