Feeds
답변 있음
elements of array are odd or even
Thanks again But I've read we can use a vector in this way in for loop....
elements of array are odd or even
Thanks again But I've read we can use a vector in this way in for loop....
5년 초과 전 | 0
질문
elements of array are odd or even
clear all clc a=round(0+9*rand(10,1)); for n=a if mod(n,2)==0 disp(n),disp('is even') elseif n==0 ...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
why plot result is different from fplot's
function [ Y ] = cosin( n,x) s=size(x,2); Y=zeros(1,s); for i=1:n Y=Y+((((-1)^(i-1))*(x.^((2*i)-2)))/factorial((...
5년 초과 전 | 답변 수: 2 | 0

