Posts

Showing posts from April, 2020

New Post

C++ Program to Calculate Area of Rectangle using Objects and Classes ~xRay Pixy

Image
C++ Program to Calculate Area of Rectangle using Objects and Classes. Calculate Area of Rectangle: Area = Length x width - In C++, we are using Objects and Classes to calculate the area of the rectangle. The syntax of a class specification is given below: class classname { private: data_members; member_function; public: data_members; member_function; }; The syntax for creating objects of a class is: classname object1, object2, object3,…,; Video Explanation: How the Program is working. Click here... PROGRAM CODE OUTPUT :  https://youtu.be/KwyzpgOXVHI

Declaration/initialization of a two-dimensional array

Image

c++ Program to count number of Vowels, digits, space and constants.

Image

Two Dimensional Array in C++ |initialization of array in c++

Image
Array Instillation Program

MATLAB Simulator

MATLAB Simulator Q . Why we are using simulation software? A. Simulation Software helps us to predict the behavior of a system (i.e., Dynamic System ).  Q. How we can use simulation software? A. We  can use simulation software to evaluate a new design, diagnose problems with an existing design, and test a system under conditions that are hard to reproduce, such as a satellite in outer space.   Q.  Who using Engineers simulation software and why?  A.  Engineers and scientists use simulation software for a variety of reasons.  Creating and simulating models is less expensive, t o  t est different designs  before building one in hardware and  to test the integration of the full design.  Q.  What is  Simulink? A. A  simulation and model-based design environment for dynamic systems  integrated with MATLAB.  Simulink is developed by MathWorks. Q.  Why    Simulink is used? A.  Simulink is used for  modeling, simulating and analyzing multi-domain dynamic systems.  it is a 

Counter and Summery Statistics - Modeling and Simulation

Image

Array in C++

Image

Call by value, Call by Reference, Returning Values from a Function

Image
Arguments Passing Techniques C++ is the mother of Object-Oriented Programming. Arguments Passing is a Process of transferring data between the calling function and the called function. In C++,  there are three ways by which arguments can be passed. Pass By Value Pass By Address or Pass By Pointer Pass By Reference Video Explanation:  C++ Program to swap two numbers with the third variable.     https://youtu.be/pq9VWQswqwo Video:  Call By Value Most of the programming languages like C use only the first two modules (i.e., Passing by Value and Address) whereas C++ supports all the three methods of passing arguments. Pass By Value: It is a default method for argument passing. When an argument is passed by value than a copy of the argument is made and passed to the newly created formal arguments in the called function. The formal arguments contain a copy of actual arguments which is stored in the separate memory location.   Program to Show How Pass By Value Work

PROGRAMMING IN C++ - FUNCTIONS

Image

PRIORITY QUEUE - MODELING AND SIMULATION

Image

MATLAB Code Assignment - Function Plotting, Change Curve Color, Label x-y axis, Add Grids

Image
Assignment Problem: Plot the function f(t) where t having intervals from t = -2.5 to 4. - Add a label on the x-axis. - Add a label on the y-axis. - Add a Title, - Add Girds, - Change the Color of the graph to something other than blue. We solved this Problem. For easy MATLAB code just click on the Link Given below. The solution in this Video Link:  Easy Matlab Code - Function Plotting The task is given:  OUTPUT: - Easy MATLAB Code :)

Learn to Code with MATLAB

Image
MATLAB CODE: Produce a 7x10 Dimension matrix with maximum integer number 50 using Randi Function. a.) Reach the element that is in 5 rows and 8 columns and display on the screen. b.) Select a region between 3 and 6 Row and 5 and 9 columns. Save extracted resign into a variable and display it on the screen. c.) Add new Row to your matrix as 8th row. d.) Add new Column to your matrix as the 11th column. MATLAB CODE: Problem| Produce a 7x10 Dimension matrix with maximum integer 50 using Randi Function Click Here...For Video Link

Introduction to Computer Programming with MATLAB

Image
Write a Program that ask the user for an age and then classifies the age according to following scheme:             0<=Baby<=1<=Child<=Teenager<=18<=Adult<=60<=Senior<120 Program Logic: We used here, IF-ELSE-IF Statement to solve this problem using MATLAB; MATLAB CODE: Program for Age Classification using IF-ELSE-IF Statement ~xRay Pixy      Video Link...Click Here

FOR LOOP - Programming in C++

Image

Modeling and Simulation |Operating System simulation |

Image
research ideas, to the verification of the hardware design. 

Code Generation Issues

Image

LOOPING STRUCTURE - WHILE LOOP, DO-WHILE LOOP

Image
More posts