photo

Rayhaan Bhikha


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I have a code which is definitely correct, but the loglog graph wont work properly.
clear all x=linspace(-1,1,40); t=linspace(0,1,20); n=[5,10,20]; hold on for i=1:3 U=(exp(-(p...

8 years ago | 2 answers | 2

2

answers

Question


the code below I'm trying to plot a loglog graph, but everytime I run the code I keep getting an empty graph, then when i use the brush i can see the points. can anyone help
n=10; x=0.2; for i=1:n h=1/i; cf=dot([1 -2 1],[(cos(pi*(x+h))) cos(pi*x) cos(pi*(x-h))])/h^2; ...

8 years ago | 1 answer | 0

1

answer