How do I take an exponential of a linspace variable

3 ビュー (過去 30 日間)
Kurt  Marples
Kurt Marples 2017 年 5 月 31 日
コメント済み: KSSV 2017 年 5 月 31 日
I'm very new to MATLAB so please bear with me. I am trying to plot a function with a linspace variable as my independent. The problem I am having is that I have to use 'exp(y)' where y is my linspace variable. As soon as I do this, I get errors. I know that when performing certain operations on these variable I have to use a dot operator to make it work properly (although I still don't understand why), but I cannot figure out a way to make this work.
Any advice would be greatly appreciated. Thanks
  2 件のコメント
Torsten
Torsten 2017 年 5 月 31 日
Please show us the code you are using.
Best wishes
Torsten.
KSSV
KSSV 2017 年 5 月 31 日
You are messing up with point to point calculations, I guess...attach your code..you problem will be sorted.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by