Community Profile # Hassan Dehghani

Last seen: 10 days ago Active since 2014

#### Statistics

All
• • • • • • • • • • #### Content Feed

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

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

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

5 years ago | 0 answers | 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 years ago | 1 answer | 0

### 1

Solved

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

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

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

7 years ago | 2 | 26 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...

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

7 years ago

Solved

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

7 years ago

Solved

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

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

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

7 years ago