photo

Stephen


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Thankful Level 3
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

mehr als 10 Jahre vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mehr als 10 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...

mehr als 10 Jahre vor

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mehr als 10 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...

mehr als 10 Jahre vor

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

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 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 ...

mehr als 10 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 10 Jahre vor

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 10 Jahre vor

Gelöst


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mehr als 10 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...

mehr als 10 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:...

mehr als 10 Jahre vor

Frage


Plotting Matrices Stored in Sequential Array Cells
Hey, I've got an array which has a few matrices stored in the arrays and now I'm wanting to plot them. Now I can see two ways...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Graph With Variable Number of Plots
I'm writing a piece of code that needs to split up a vector into smaller vectors which are not uniform in length. These smaller ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


3D Matrix to replace a square matrix in a for loop?
Sorry if the question title isn't great; stuggled to come up with a good question to ask the following; I've been using matri...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using electronic sensors to control motors using matlab/simulink; possible?
Hey, got a general question regarding MATLAB and/or simulink which I'm hoping someone here will be able to help me with. (I'll s...

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Drawing on a m-file via the command window; possible?
Hey, so I've created an m-file but there's far too many outputs that I don't need all the time for me to be happy with. However ...

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


fprintf Multiple Lines?
Is there a way to print multiple lines to the command window (like fprintf does for single lines) without using fprintf at the s...

etwa 12 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


Integrating A Vector (Or rather a series of point values)
Firstly I wish to apologise as I know there's a section of the matlab documentation / help files. However I've tried following i...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Derive equation from set of data
I feel rather silly asking this as I'm sure it's extremly simple and that I'm missing a button or something but can't find the a...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


fprintf repeat
Hey I'm trying to do something... and I don't know if it's possible :s I'm currently drawing on subfunctions and showing the ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Defining inputs for subfunctions
Hey, I'm writing some code that involves using set inputs (that I want to be able to change easily) in multiple subfunctions....

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Issue With Integration Output
I'm thinking this is a basic problem, but can't find an answer anywhere and have been unable to resolve it myself :/ When I i...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


While Loop
I'm trying to get a loop inplace which changes the input until the output is met. For example, if b=3*n and I want b to be great...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Symbolic Solver Question
Hey, quite new to MATLAB so sorry if this is a very rookie issue :/ Also tried searching for it but couldn't see it, sorry if it...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort