i need help creating this function
이전 댓글 표시
hello guys i want to create a function that follows this pattern 

and works the same for as many numbers i insert [(x2-x1)/x1]*100
댓글 수: 3
darova
2020년 4월 22일
Please show your attempts. Show your effort. Show how much you want it
David Hill
2020년 4월 23일
Look at diff() function.
Johnny Vokos
2020년 4월 23일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!