sir,how to implement multiplications of exponential equations in matlab.

조회 수: 1 (최근 30일)
how can i multiply a sinusoidal grating with a two dimensional guassian function h(x,y).

채택된 답변

Walter Roberson
Walter Roberson 2014년 2월 1일
[X, Y] = ndgrid( -5:.1:5, 3:.01:4); replace the constants with the limits for x and y
gauss_mat = h(X, Y);
grating = ... whatever over X and Y
result = grating .* gauss_mat;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by