using char as formula inside a script
显示 更早的评论
hi, i'm trying to use this character (as seen in the code) as a formula inside a script my main goal is to use this data and to place x=2 and to see the resault of the cos(2)
my code:
clear all close all clc
% integral solver
syms x
funct=sin(x);
answer=int(funct);
answer=char(answer);
x=2;
a=answer(1:length(answer))
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!