**Statistics**

**MATLAB Answers**

**25** Questions

**0** Answers

RANK**13,088**

of 281,567

REPUTATION**3**

CONTRIBUTIONS

**25** Questions

**0** Answers

ANSWER ACCEPTANCE **
88.0%
**

VOTES RECEIVED**3**

RANK

of 19,051

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 133,801

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

**Content Feed**

Question

Simulink: How come my wire is all bent instead of straight?

Every time I use the sum block, when I try to connect one of the inputs to an output wire from another block it bends at an angl...

9 years ago | 0 answers | 0

### 0

answersQuestion

Effective way to estimate the big O runtime?

In order to estimate the big O runtime of MATLAB's *find* function I have simply created a plot of the runtimes of the *find* fu...

10 years ago | 2 answers | 0

### 2

answersQuestion

Error using ODE solvers?

Hi I'm trying to solve for this system of ODEs using the ODE solver that works the fastest: d/dt[x1 x2 x3] = [-10^4*x1+x2^2...

10 years ago | 1 answer | 0

### 1

answerQuestion

Is there way to suppress the timer?

Hello, I am using tic and toc to measure the runtime of MATLAB's sort function for arrays of n lengths. In order to understand h...

10 years ago | 2 answers | 1

### 2

answersQuestion

How to look at the source code for MATLAB's built-in sort function?

I need to find the big O runtime for MATLAB's built-in sort function, but I'm not quite sure how to if I don't even know how the...

10 years ago | 4 answers | 1

### 4

answersQuestion

Problem with Forward Euler function?

I have created a function using the forward Euler's method to approximate the solution to the ODE dy/dx(x)=f(x,y(x)). The only p...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to make my bisection method more accurate?

I have constructed a root-finding function based on the bisection method. The function works, however, the roots it gives me are...

10 years ago | 1 answer | 0

### 1

answerQuestion

What's wrong with my bisection method function???

I'm not quite sure what's exactly wrong with my bisection method function that I have written. Can someone please help me figure...

10 years ago | 1 answer | 0

### 1

answerQuestion

Generating random numbers in order?

How would you generate random numbers so that they are in ascending or descending order? Is there a way to create a function sim...

10 years ago | 2 answers | 0

### 2

answersQuestion

Computing the parameters of a model

I am having trouble understanding how to code this problem. I have a certain model y(x) = a1 + a2*x + a3*x^2. I need to create a...

10 years ago | 1 answer | 0

### 1

answerQuestion

Determining if the length of an array is even or odd?

How do i determine if the length of an array is even or odd? Is there a specific function that does this? I know length(A) gives...

10 years ago | 1 answer | 0

### 1

answerQuestion

Making a function produce a specific error?

I have a certain function that I created and I need it to produce a certain error when a certain condition is satisfied. For exa...

10 years ago | 1 answer | 0

### 1

answerQuestion

Output argument not assigned during call

I get this error message when I try to run a function that I created. I understand what this is saying, but when I look at my fu...

10 years ago | 2 answers | 0

### 2

answersQuestion

Separately creating two parts of an array?

I have an array x that is initialized to be of size 1 by n containing random values. The overall length of array x is some value...

10 years ago | 2 answers | 0

### 2

answersQuestion

Expressing floating point numbers in IEEE standard?

How would you express a floating point number in IEEE standard? There would be three parts, the sign, the biased exponent, and t...

10 years ago | 3 answers | 0

### 3

answersQuestion

Putting spaces between strings?

I have three different strings and are putting them together in an array. The result is simply the three strings combined. Howev...

10 years ago | 2 answers | 0

### 2

answersQuestion

The mantissa of a floating point number???

What is the mantissa of a floating point number? How would you find it?

10 years ago | 3 answers | 0

### 3

answersQuestion

Understanding switch and case expressions

a = 'hi'; switch a case {'hi','hello'} disp('hi, hello') case 'hi' disp('hi') end When executing this cod...

10 years ago | 1 answer | 0

### 1

answerQuestion

For loops vs. While loops

I know the two loops are used differently, although they could be used for the same purpose. However, how would you generally kn...

10 years ago | 1 answer | 1

### 1

answerQuestion

Need help understanding arrays

Let's say I have an array A = [1 2 3; 4 5 6] A = 1 2 3 4 5 6 A(1:2) would simply be 1 4 And A(2:3) would b...

10 years ago | 2 answers | 0

### 2

answersQuestion

The previous node in a linked list???

Are you able to access the previous node in a linked list? Like to traverse to the next node in a linked list it would just be ...

10 years ago | 1 answer | 0

### 1

answerQuestion

Displaying a linked list as an array?

How would I display a linked list as an array of the values of every node in the list, in the order of which the list traverses?...

10 years ago | 1 answer | 0

### 1

answerQuestion

Counting through linked lists?

How would you count through a linked list? I mean like for an array, you would just use a for loop to count through the array an...

10 years ago | 1 answer | 0

### 1

answerQuestion

Linked lists guide or tutorial?

Does anyone know where I can find a comprehensive guide to linked lists in Matlab? I've tried looking online, but all I found we...

10 years ago | 1 answer | 0

### 1

answerQuestion

MATLAB tutorial or guide?

Does anyone know of a good MATLAB tutorial or guide for people with no programming experience? I'm struggling with MATLAB as I h...

10 years ago | 1 answer | 0