photo

Isktaine


Univ of Bath

Aktiv seit 2012

Followers: 0   Following: 0

Nachricht

Mathematician in disguise as a Mechanical Engineer who dabbles in programming and enjoys daily battles with MATLAB. Studying for a PhD. Self confessed queen of the nerds.

Statistik

All
MATLAB Answers

6 Fragen
5 Antworten

Cody

0 Probleme
9 Lösungen

RANG
6.609
of 300.364

REPUTATION
7

BEITRÄGE
6 Fragen
5 Antworten

ANTWORTZUSTIMMUNG
16.67%

ERHALTENE STIMMEN
2

RANG
 of 20.934

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
38.484
of 168.407

BEITRÄGE
0 Probleme
9 Lösungen

PUNKTESTAND
110

ANZAHL DER ABZEICHEN
2

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Commenter
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

mehr als 9 Jahre vor

Frage


Multiple anonymous functions combined
Hi, I am trying ultimately to be able to define a new anonymous function from two previously defined functions, and pass this...

mehr als 12 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Slowing of program when adding legend.
Hi, I'm plotting 4 functions in one graph and then adding a legend. For some reason adding the legend is really slowing the ...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Subplot without stretching images?
Hi, I have three figures and want to combine them in a long rectangular image so they can be viewed side by side. I've used s...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using structures instead of vectors?
Hi, I'm using ode45 and passing the solutions into another function. Currently I am using the notation [x,A]=ode45('ode...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Differences between script and function file
A script file will run one line after another, and all the information is available to your workspace in MATLAB. For example if ...

etwa 13 Jahre vor | 0

Frage


Infinite loop in a interpl?
Hi, While solving an ode with ode45 I use a spline like this: X_0 = interp1(r(:,1),r(:,2),x,'spline'); However somet...

etwa 13 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
how to turn decimal numbers to integers
Assuming your results are stored in A then: fix(A) see http://www.mathworks.co.uk/help/techdoc/ref/fix.html

etwa 13 Jahre vor | 0

Beantwortet
How do I solve a system of equations?
You need to have a function which the ode solvers can act on. [t,y] = ode45('YourODEFunction', [0 50], [a(0) b(0) c(0) d(0)...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
replacing NaN with it previous element
Save this function then use it on K: function K = RemoveNaNs(K) [rows,cols]=size(K); %Works out how many rows and co...

etwa 13 Jahre vor | 1

Beantwortet
Plot several series in the same chart
You can still plot them on the same graph, you just need to make your x vector smaller. For example %Plot your first 100 p...

etwa 13 Jahre vor | 0

Frage


Dimension mismatch in defining a function for use in ode45
Hi, I'm solving a system of ODEs with ode45. I would like to have extra (non integrated) parameters out of the function as in...

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

etwa 13 Jahre vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

etwa 13 Jahre vor

Gelöst


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

etwa 13 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa 13 Jahre vor

Gelöst


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

etwa 13 Jahre vor

Gelöst


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

etwa 13 Jahre vor

Gelöst


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

etwa 13 Jahre vor

Gelöst


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

etwa 13 Jahre vor