Which function is this?

olejokle

New member
Joined
Apr 2, 2016
Messages
1
attachment.php

The red line should be exponential. But i can't figure out how to plot this in matlab :\ Can someone help me?

The reason i want this function is because i want to increase the brightness of a LED exponentially with all 255 PWM steps with different delay time.
 

Attachments

  • yup.jpg
    yup.jpg
    7.1 KB · Views: 11
attachment.php

The red line should be exponential. But i can't figure out how to plot this in matlab :\ Can someone help me?

The reason i want this function is because i want to increase the brightness of a LED exponentially with all 255 PWM steps with different delay time.

I would fit a function:

PWM = A*[1-e^(-kt)]

Now solve for A & k knowing PWM = 0 @ t=0 and PWM = 255 at t = 1800
 
Top