Top 5% contributor
Is it possible to add an item to a list in SharePoint 2010 through MATLAB? I assume there must be some .NET web services that co...
Asked 12 months ago
No it's there in 2012a but just hidden away. You will be able to use the commands in the link above.
Answered 2 years ago
We obviously can't give you the direct answer as this is a homework problem but here are some tips that may help you sol...
For anybody who is interested in the solution, my question has been answered on Stack Overflow.
Answered 12 months ago
Using csvread it's not possible to specify what you need to do. You can either specificy the start row and column to read from a...
elseif k >= 3.65 && k<= 4.35
You should try looking up the xlsread, strmatch, find and strncmp functions in the help. There are comprehensive examples that s...
Check if sorted.
Input x = [1 2 0]
Output y is 0
12 months ago
_Simply return the name of the coolest numerical computation software ever_
*Extra reward* (get a _freepass_):
As an addit...
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Given two lists of numbers, determine the weighted average.
[1 2 3] and [10 15 20]
should result in
2 years ago
Given the input n, return true if n is odd or false if n is even.
Calculate the nth Fibonacci number.
Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ...
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Regardless of input, output the string 'yes'.
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Take a look at the <http://www.mathworks.co.uk/help/control/pid-controller-design.html Control System Toolbox documentation> for...
Answered 5 months ago
This seems to work fine. Are you sure you definitely have an axes in your figure? gca will only open a new figure ...
Command line interaction like this is not really a beginner thing. Silly question, but I assume you know you can just press the ...
You should lookup the MATLAB Profiler. This is easily accessible through the toolbar in 2012b onwards (run and time is one way)....
No this will not work. Just try and imagine all the possible ways that you could define the merge option for three text files an...
You could look to set the enabled property of items in your non-active GUI to off or inactive when GUI2 becomes visible.
I suggest you reciprocate your a variable and round it to the nearest integer. You then just need to make sure you get the argum...
Join the conversation