RGB pattern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
RGB pattern
Hello,
Would you please help me to create an RGB pattern in (theta-d) plane from Ired, Igreen and Iblue? In the attached program I have included a similar pattern that I obtained from Matlab code.
Thank you very much.
Payman
- Labels:
-
Physics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Attached is my attempt. Not sure if I'm on the right track or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I think the problem is here:
Your calculation of phi depends on x who's values are 593, 493, and 399. These values are scaled by multiplying by j (between 0 and 1200.) These radians are then used with the intensity to set I.
I don't believe you mean to have phi vary that widely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Good point. I decided to scale down x to see what would happen. If I use x/10000, I get:
Not exactly what OP showed from Matlab, but much closer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I also played with a scaling factor, but Mark was faster.
For whats it worth here's my attempt.
The colors don't match those from the MatLab picture.