write an equation with graph
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I need help with writing an equation that has 3 parameters in Matlab and plot the graph of it.
The equation is : Rb= SF * CR* BW/2^SF (bit/sec)
the x-axis is for time and the y-axis is for bits
I want to change the values of 2 parameters and make one stable and see the difference.
any help please ??
2 件のコメント
Sriram Tadavarty
2020 年 7 月 29 日
Hi Diana,
Can you inclde what the values of SF, CR, BW are? It would be easy to share what you have tried so far and where did you struck? What are the inputs and expected outputs?
Regards,
Sriram
回答 (1 件)
Chenguang Yan
2020 年 10 月 22 日
This might help you:
SF = [7,8,9,10,11,12];
CR = [1,2,3,4];
BW = [125,250,500];
BW_fixed = BW(1); % fixed Bandwidth
[X_SF,Y_CR] = meshgrid(SF,CR);
Rb= X_SF.*Y_CR.* BW_fixed./2.^X_SF;
surf(X_SF,Y_CR,Rb)
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!