Community Profile

photo

pooneh shabdini


Last seen: 2 years ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Answered
What is the difference between these two lines?
Thanks

2 years ago | 0

Question


What is the difference between these two lines?
Clear a Clear a*

2 years ago | 2 answers | 0

2

answers

Answered
elements of array are odd or even
Thanks again But I've read we can use a vector in this way in for loop....

2 years ago | 0

Question


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 ...

2 years ago | 2 answers | 0

2

answers

Question


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((...

2 years ago | 2 answers | 0

2

answers