photo

Anish Patel


Last seen: 5 years ago |  Active since 2019

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

2 Questions
1 Answer

Cody

0 Problems
7 Solutions

RANK
262,457
of 302,380

REPUTATION
0

CONTRIBUTIONS
2 Questions
1 Answer

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,759

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
52,422
of 181,952

CONTRIBUTIONS
0 Problems
7 Solutions

SCORE
80

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

6 years ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

6 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years ago

Question


Matrix dimensions must agree. Error in HornerSimple (line 11) p=i*a(j)+p*x;
function [p]=HornerSimple(a,x) if isempty(a) p = zeros(size(x)); return end n=length(a); i=eye(n); p=a(n); fo...

7 years ago | 1 answer | 0

1

answer

Answered
iam trying to run this Horners simple code but i cant because it says 'Out of memory. The likely cause is an infinite recursion within the program.'
i would just like to thank you for the support given as you can probably tell iam very new to matlab.

7 years ago | 0

Question


iam trying to run this Horners simple code but i cant because it says 'Out of memory. The likely cause is an infinite recursion within the program.'
function [p]=HornerSimple(a,x) n=length(a); i=eye(n); p=a(n); for j=n-1:-1:1 p=a(j)*i+HornerSimple(a,x)*x; ...

7 years ago | 2 answers | 0

2

answers