Symbolic integration of cell arrays
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
EldaEbrithil
el 15 de Oct. de 2020
Comentada: EldaEbrithil
el 15 de Oct. de 2020
Hi all
is it possible to perform symbolic integration of cell arrays? P is a cell array where each element is the function that need to be integrated
I guess it's something like that but i am not sure:
syms x
for i=1:length(P)
Q{i}=int(P{i},x);
end
Thank you for the help
Regards
0 comentarios
Respuesta aceptada
Walter Roberson
el 15 de Oct. de 2020
It is not possible to directly perform symbolic integration of cell arrays.
You can use the code you posted, or you can use
Q = cellfun(@(p) int(p,x), P, 'uniform', 0);
Más respuestas (0)
Ver también
Categorías
Más información sobre Assumptions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!