photo

Joe


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 4

View badges

Feeds

View by

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...

10 years ago | 0 answers | 0

0

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 1

2

answers

Question


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...

11 years ago | 4 answers | 1

4

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 3 answers | 0

3

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 3 answers | 0

3

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 1

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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 ...

12 years ago | 1 answer | 0

1

answer

Question


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?...

12 years ago | 1 answer | 0

1

answer

Question


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...

12 years ago | 1 answer | 0

1

answer

Question


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...

12 years ago | 1 answer | 0

1

answer

Question


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...

12 years ago | 1 answer | 0

1

answer