Using arrays and finding the slope
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Christine Nee
am 24 Jan. 2017
Kommentiert: Christine Nee
am 25 Jan. 2017
Would it be appropriate to use this kind of logic in Matlab? I am getting a weird slope graph so I wanted to double check.
From this graph ex:
plot(strainpercentage(452:502),c3(452:502))
To find the slope, this plot:
plot(c3(452:502)./strainpercentage(452:502))
0 Kommentare
Akzeptierte Antwort
Jan
am 25 Jan. 2017
Use gradient of diff to determine the slope.
plot(diff(c3(452:502))./diff(strainpercentage(452:502)))
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!