Calculate the Gradient in C programming

1 回表示 (過去 30 日間)
NONE NONE
NONE NONE 2011 年 4 月 4 日
given 10 Y values
-256.000000
-253.062974
-250.151792
-247.266300
-244.406341
-241.571763
-238.762410
-235.978130
-233.218770
-230.484178
and the change in X is 0.01
so I want a C program/code that can go to a certain file containing those ten Y values and pick two (lower minus upper)/0.01 and give me the gradient and save the gradient, then do that for the rest of them.
fellows is there anyone who can do this

回答 (1 件)

Jan
Jan 2011 年 4 月 4 日
This is a Matlab related forum, but your question concerns C.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by