Community Profile

# Hassan Mehmood Khan

Last seen: 12 meses ago Active since 2017

I am a passionate teacher and trainer in the field of Mechatronics. Same time i am doing my Masters in Singal & Systems.

I have intermediate skills for PLC,PIC and Arduino programming with Systems Design.

All

#### Content Feed

View by

Question

Matlab 2019b don't recognise "Data Acquisition Commands"
I have been trying to connect NI USB 6009 to Matlab 2019b Session base commands are recognised I want to send Digital OUT sig...

alrededor de 1 año ago | 1 answer | 1

### 1

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

alrededor de 1 año 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...

alrededor de 1 año ago

Solved

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

casi 3 años ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

casi 3 años ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

casi 3 años ago

Solved

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

casi 3 años ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

más de 3 años ago

Solved

Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

más de 3 años ago

Solved

Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

más de 3 años ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

más de 3 años ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

más de 3 años ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

más de 3 años ago

Why is the figure not displaying anything ?

más de 3 años ago | 0

Why is the figure not displaying anything ?
# Need to remove unit8 from the newImg(i,j) . # It is not defined earlier in the programme. # The figure in last command , nee...

más de 3 años ago | 0

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

más de 3 años ago

How to display a grid in Simulink 2017a
Simulink.sdi.setSubPlotLayout(r,c) sets the grid layout of plots in the Simulation Data Inspector using the specified numbe...

casi 4 años ago | 0

Submitted

Display Message in Box in Matlab Plot
This code is for display messages in plots.

Solved

Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

casi 4 años 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...

casi 4 años ago

Solved

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

casi 4 años 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:...

casi 4 años ago

Question

How can i measure reflection of light from plastic or paper images using cam ?
I am writing a code to capture image of paper/plastic objects using logitech cam. I am able to connect take pictures, but i wan...

casi 4 años ago | 1 answer | 0

### 1

taking input from two cameras at a same time in Matlab
i did this to get snapshot from two cams at same time: % webcamlist identification clc; clearvars; webcamlist ...

alrededor de 4 años ago | 1

Question

How to categorize paper / plastic image is 2D or 3D object in image ?
I am developing a program to categorise image of paper or plastic object, (Flat or scrambled paper). After taking image , i ne...

alrededor de 4 años ago | 1 answer | 0

### 1

image capture with inbuilt laptop camera

más de 4 años ago | 4

How can I get imaqtool to use an integrated camera?
Goto Home>Add-Ons>Get Hardware Support Packages>Install from Internet>OS Generic Video Interface Action=Install <</matlab...

más de 4 años ago | 1

Webcam Device ID 1 is in use , how to solve it?
I was having the same problem. but i was able to solve it. Used the following code: clc; clear; close all; objects = imaqfind ...

más de 4 años ago | 9

| accepted