photo

Hassan Mehmood Khan


Last seen: 1 year ago Active since 2017

Followers: 0   Following: 0

Message

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.

Statistics

All
  • Thankful Level 1
  • First Review
  • First Submission
  • Knowledgeable Level 1
  • Commenter
  • Promoter
  • Solver
  • Revival Level 1
  • First Answer

View badges

Feeds

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

4 years ago | 1 answer | 1

1

answer

Solved


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

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

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

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

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

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

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

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

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

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

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

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

7 years ago

Answered
Why is the figure not displaying anything ?
<</matlabcentral/answers/uploaded_files/106192/Screenshot_6.png>>

7 years ago | 0

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

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

7 years ago

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

7 years ago | 0

Submitted


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

7 years ago | 1 download |

Thumbnail

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

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


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

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

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

7 years ago | 1 answer | 0

1

answer

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

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

7 years ago | 1 answer | 0

1

answer

Answered
image capture with inbuilt laptop camera
Install "OS Generic Video Interface" <</matlabcentral/answers/uploaded_files/77295/2.jpg>> <</matlabcentral/answers/up...

7 years ago | 4

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

7 years ago | 1

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

7 years ago | 10

| accepted