Community Profile

# Hassan Dehghani

##### Last seen: etwa 2 Monate ago
29 total contributions since 2014

View details...

Contributions in
View by

Question

Time out occured while trying to get a frame from the webcam.
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...

mehr als 4 Jahre ago | 0 answers | 0

### 0

Question

I am trying to simulate descriptor (singular) systems with time delays!
I am trying to simulate descriptor (singular) systems with time delays, but I don't know how. I checked dde23, but no hope. Any ...

fast 5 Jahre ago | 1 answer | 0

### 1

Question

I am trying to print a figure, but the line width reduces! any ideas?
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...

etwa 5 Jahre ago | 0 answers | 0

### 0

Question

"The specified key is not present in this container" error arduino Support Packages for MATLAB R2015a
I am using MATLAB 2015a. I tried to download arduino support packages for several times, it would download the file, but then I ...

mehr als 5 Jahre ago | 1 answer | 0

### 1

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

fast 6 Jahre ago | 0

Question

I need to solve an equation set :(
Hi, I need to solve an equation, but I don't know how. here's the equation set. P*S=A*P+B*G+E 0= C*P+D*G+De P and G are...

fast 6 Jahre ago | 1 answer | 0

### 1

Submitted

Routh Array
Builds the array , and checks stability.

Solved

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 6 Jahre ago

Question

why can't i plot this function? :(
I'm trying to plot this function. It gives me the following error. Warning: Matrix is singular to working precision I'm us...

mehr als 6 Jahre ago | 1 answer | 0

### 1

Solved

Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

fast 7 Jahre ago

Solved

Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

fast 7 Jahre ago

Solved

Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

fast 7 Jahre ago

Solved

Create times-tables
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...

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Question

How can I get GUIDE to add multiple 'edit texts' to a figure?
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 ...

fast 7 Jahre ago | 0 answers | 0

### 0

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

fast 7 Jahre ago

Question

Can anyone explain how Cody calculates the size of a program?
Can anyone explain how Cody calculates the size of a program? I read the help, but couldn't understand. :(

fast 7 Jahre ago | 1 answer | 0

### 1

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Problem

Given a number between 1-365 (a day number in a non leap year) , find what day of what month it is.
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. for exam...

fast 7 Jahre ago | 2 | 25 solvers

Solved

Given a number between 1-365 (a day number in a non leap year) , find what day of what month it is.
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. for exam...

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago

Solved

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

fast 7 Jahre ago