Feeds
提问
Write a function called sindeg that takes a matrix input called deg. The function returns a matrix of the same size as deg with elements containing the sine of the corresponding element of deg and mean of the sine.we are nor allowed builtin functions
function [sine,mean_sine] = sindeg(deg) sine = (exp(i*deg) - exp(-i*deg))/(2i) mean_sine=sine/length(deg) I am not ge...
8 years 前 | 2 个回答 | 0