Matlab Gui Column Calculation Problems adds 48
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hello, please i need help as am trying to make some column calculations in matlab gui.
dataC = get(handles.uitable1, 'Data'); Data = cell2mat(dataC(:,1)); C = 2* Data(:,1) * pi; dataC(:,3) = num2cell(C(:,1)); set(handles.uitable1, 'Data', dataC)
With this code it adds 48 to each digit input before performing the task. And when two digits number is entered like 56 it only calculate for 5 which is the first figure alone. Anyone please help out.
0 个评论
回答(0 个)
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!