Tarun Sangwan
Followers: 0 Following: 0
Statistics
0 Questions
3 Answers
RANK
19,697
of 295,527
REPUTATION
2
CONTRIBUTIONS
0 Questions
3 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,057
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
write a function called palindrome that takes one input argument a char vector and recursively determine whether that argument is a palindrome you are not allowed to use loops not built in function like srtcmp etc. the function returns true or false
function p = palindrome(n) if length(n)/2<1 p = 2 else p = n(1) == n(end) p = [p palindrome(n(2:end-1))] end...
8 months ago | 0
Write a MATLAB script file that calculates the sum of first n natural numbers (the program could prompt the user for the number n). The program must use a “for” or “while” loop to accomplish this, and must NOT use the ready formula s = 1 2 n (n + 1).
%% using cell method function b = addds(n) g = cell(1,n) for i = 1:n g{1,i} = i end b = sum(g) %%using recurssion fu...
8 months ago | 0
How can I fix propagation speed error using Simscape Power System?
propogation time=distance/propagation speed(commonly reffered to speed of light) if there is propagation error you must check v...
2 years ago | 1