photo

Sohib Shafqat


Active since 2019

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
85,088
of 301,432

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,280

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,555

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

View by

Question


I need to create a function file of the code below using Matlabs built in function, instead of having this code in the script. This code works in the script file, but when I make a seperate function file it does not work. Please help.
% In this section, we present the bisection algorithm % In the following section, you have to make function file of the method,...

7 years ago | 0 answers | 0

0

answers

Question


I am getting an error message: Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-2.
x = 0; y = 0; while y < 9.8 y = 10*(1-exp(-x/4)); z(x+1,:) = [x,y]; % z is a random variable x = x+1; en...

7 years ago | 1 answer | 0

1

answer