Community Profile

Hassan Mehmood Khan

Last seen: 約2年 前 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

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

2年以上 前 | 1 件の回答 | 1

1

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

2年以上 前

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

2年以上 前

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

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

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

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

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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.

5年弱 前

Why is the figure not displaying anything ?

5年弱 前 | 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...

5年弱 前 | 0

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

5年弱 前

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

5年弱 前 | 0

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

5年弱 前 | ダウンロード 1 件 |

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

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

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

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

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

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

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

1

image capture with inbuilt laptop camera

5年以上 前 | 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...

5年以上 前 | 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 ...

5年以上 前 | 10

| 採用済み