Top 5% contributor
I am using MATLAB 2015a. I tried to download arduino support packages for several times, it would download the file, but then I ...
Asked 12 months ago
this is a function, I, Sx, Sy, f, theta are the inputs. try typing something like this,
[G,gabout] = gaborfilter2(1,2,3,4,30)...
Answered 1 year ago
Builds the array , and checks stability.
2 years ago
I'm trying to plot this function. It gives me the following error.
Warning: Matrix is singular to working precision
Asked 2 years ago
For a given number between 1-365 (a day number in a non leap year), you should check which day of which month it is.
Hi, I need to solve an equation, but I don't know how. here's the equation set.
P and G are...
Asked 1 year ago
Can anyone explain how Cody calculates the size of a program?
I read the help, but couldn't understand. :(
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
If length, breadth and height of the walls are given, find the area of the four walls.
If a number (n) is provided as an input, find the square of the sum of the digits of the number.
If n = 21, the an...
Just find the number of columns of the given matrix.
x = [1 2
y = 2
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
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.
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...
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
Given a and b, return the sum a+b in c.
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Regardless of input, output the string 'yes'.
Given the input n, return true if n is odd or false if n is even.
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.
Hi, I have a webcam (creative HD 1080p). I could use it last week. But I don't know what happened. Now that I want to capture im...
Asked 4 months ago
I am trying to simulate descriptor (singular) systems with time delays, but I don't know how. I checked dde23, but no hope. Any ...
Asked 7 months ago
I have some plots I have to save. I use the print command to save them. I have set the linewidth to 2; however, the linewidth in...
Asked 10 months ago
I'm trying to learn how to code uicontrols! I want the user to input a number (n), and I want the program to produce (n+1) edit ...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries