photo

Akansha


Active since 2016

Followers: 0   Following: 0

I'm cool I guess...

Statistics

All
MATLAB Answers

7 Questions
0 Answers

Cody

0 Problems
1 Solution

RANK
178,946
of 301,186

REPUTATION
0

CONTRIBUTIONS
7 Questions
0 Answers

ANSWER ACCEPTANCE
85.71%

VOTES RECEIVED
0

RANK
 of 21,188

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
117,784
of 173,292

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 3
  • Scavenger Finisher
  • Solver

View badges

Feeds

View by

0

answers

Question


I have to make a code that does matrix multiplication. This is what I have so far but I'm not sure why it's not working. I cannot figure out if my for loops for k, i, and j are correct.
function [C] = mult(A, B) [n1,m1]=size(A); [n2,m2]=size(B); if m1~=n2 error('Matrix dimensions do not match');...

9 years ago | 1 answer | 0

1

answer

Question


Use a Taylor series to write a function that approximates f(x)=sin(x) for any x with a max error=1e-3. It should behave just like MATLAB’s function for sin(x). Use the built-in mod function to allow for any value of x to account for periodicity.
This is what I have so far. I don't know how to incorporate mod into this function and how to not use the sin(x) function in it ...

9 years ago | 1 answer | 0

1

answer

Question


Expand the following code: The first line of code is required to initialize the array of which further calculations can be made.
Expand the following: B = randi([-10 10], [1 6]); C = B(B<0); So far I have but it keeps getting an error ...

9 years ago | 1 answer | 0

1

answer

Question


I need to find the minimum at what radius is the surface area smallest (use the “min” function in MATLAB, see MATLAB help for proper syntax of the min function) but I just can't get it to work.
So far I have: V=10 A=@(r)(pi*r.*sqrt(r.^2+((9*V.^2)./(pi.^2*r.^4)))) r=0:10; plot(r,A(r)); [m,i]=min(A) And...

9 years ago | 2 answers | 0

2

answers

Solved


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

9 years ago