Created
February 16, 2015 02:55
-
-
Save rysk-t/86aa40444573b0ec812a to your computer and use it in GitHub Desktop.
dispCalc.m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clear all; | |
| close all; | |
| % PVM1741 Params | |
| dp.Dist = 570; | |
| dp.Width = 365.8; | |
| dp.WidPx = 1920; | |
| % calc | |
| dp.WidDeg = 2*(atan(0.5*dp.Width/dp.Dist)*180/pi); % Angle of View | |
| dp.PperD = dp.WidPx/dp.WidDeg; % => pix/deg | |
| SpatFreq = 1/dp.PperD; %cycle/pix | |
| % disp | |
| disp(dp); | |
| disp(['For 1.0 cycle/deg: OR:45 => SFOR ' num2str(SpatFreq) ' 45' ]); | |
| % 実際は 0.12 をいれるとちょうど丁度 1cm = 1cycleででる? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment