Community Profile

photo

Samruddhi Pednekar


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


how to pass parameters to a function handle in spmd block
if I have defined a function si = @(x) 1.*(x>=0 & x<=0.5)+... -1.*(x>=0.5 & x<1)+... 0.*(x<0 | x>=1); and f(x)=@ x.*x...

8 years ago | 1 answer | 0

1

answer

Question


which is the file that contains 'int'?
I am getting the following error but I don't know which file to add: An UndefinedFunction error was thrown on the workers for '...

8 years ago | 1 answer | 0

1

answer

Question


how to define an anonymous function in spmd block?
I want to define sinx function in spmd block. how can I do it...it is giving an error you cant define an anonymous function in a...

8 years ago | 1 answer | 0

1

answer

Question


I am getting this error Cell contents assignment to a non-cell array object..I m actually trying to create an array where the elements are functions
my code is H = @(t) 1.*(t>=0 & t<=0.5)+... -1.*(t>=0.5 & t<=1)+... 0.*(t<0 | t>1); h =@(t) cell(k,1); for j = 0:5 ...

8 years ago | 1 answer | 0

1

answer