Statistics
2 Questions
0 Answers
RANK
244,305
of 300,857
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 21,097
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 171,361
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
how to the save value of variable obtained in iterative process when we input the value of the variable from txt file or excel file?
function sum_b = fcn(c) %#codegen sum_b=0; for ii=1:length(c) sum_b=sum_b+c(ii); disp(sum_b); end ...
9 years ago | 1 answer | 0
1
answerQuestion
Hi, I need urgent help,the sum value in following program is not getting incremented..whatever 'm' value is there,sum is showing that.the next sum value is not getting added with the previous value.I here by attach the code.
function [y,sum]= fcn(u,v) %#codegen w=length(u); sum=0; y=0; for i=1:w if u>v m=u-v; else m=0...
9 years ago | 1 answer | 0