Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Student Reviews



More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Row and Column Matrix

%  Various methods for Row-vector making  a= [ 1 2 3 4 5] %entering direct values a1= [1,2,3,4,5] % using commas to seperate the elements b=1:50   %incremental without the use of \'\'[]\'\' c=[1:50]  %Incremental with \'\'[]\'\' c=[1:0.1:2] % With an increment of 0.1 a= rand(1,5) %using random…

    Project Details

    Loading...

    Leave a comment

    Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by Adnan Zaib Bhat (17)

    File Parsing and Data Analysis in Python Part I (Interactive Parsing and Data Visualisation)

    Objective:

    1) File Parsing Definition: Parse essentially means to ''resolve (a sentence) into its component parts and describe their syntactic roles''. In computing, parsing is 'an act of parsing a string or a text'. [Google Dictionary]File parsing in computer language means to give a meaning to the characters of a text file as per…

    calendar

    15 Jan 2019 02:28 PM IST

      Read more

      File Parsing and Data Analysis in Python Part I (Interactive Parsing and Data Visualisation)

      Objective:

      1) File Parsing Definition: Parse essentially means to ''resolve (a sentence) into its component parts and describe their syntactic roles''. In computing, parsing is 'an act of parsing a string or a text'. [Google Dictionary]File parsing in computer language means to give a meaning to the characters of a text file as per…

      calendar

      09 Jan 2019 02:59 AM IST

        Read more

        File Parsing and Data Analysis in Python Part II (Area Under Curve and Engine Performance)

        Objective:

        1) Integration/Area Under Curve 1.1 PV Diagram  In thermodynamics, a PV diagram is a plot which shows the relationship between the pressure and volume for a particular process.  We know that ` dw = p.dv` is the small work done by the process at a particular instance. Hence, total work done by a process from…

        calendar

        08 Jan 2019 06:07 AM IST

          Read more

          Constrained Optimisation Using Lagrange Multipliers

          Objective:

          Problem: Minimize: `5-(x-2)^2 -2(y-1)^2`; subject to the following constraint: `x + 4y = 3` 1) Lagrange Multipliers Lagrange multipliers technique is a fundamental technique to solve problems involving constrained problems. This method is utilised to find the local minima and maxima subjected to (at least one) equality…

          calendar

          22 Dec 2018 06:32 PM IST

          • MATLAB
          Read more

          Finding Minimum Air Cushion Pressure With Newton-Raphson Method in Python

          Objective:

          1) Air Cushion Vehicle  [source: https://bit.ly/2z5LgIl] A hovercraft, also known as an air-cushion vehicle or ACV, is an amphibious craft capable of travelling over land, water, mud, ice, and other surfaces. Hovercraft use blowers to produce a large volume of air below the hull that…

          calendar

          07 Dec 2018 02:00 PM IST

            Read more

            Curve Fitting: Linear, Cubic, Polynomial (1-5), Piecewise, Goodness of Fit and Regression Analysis In Python.

            Objective:

            Curve Fitting Curve fitting is a process of determining a possible curve for a given set of values. This is useful in order to estimate any value that is not in the given range. In other words, it can be used to interpolate or extrapolate data. A good curve fit is one which will be able to predict and explain the trend…

            calendar

            03 Dec 2018 02:36 PM IST

              Read more

              Polynomial Curve-fitting, RMS Error and Goodness of the Curve Fit (Order = 1 - 10) in MatLab

              Objective:

              Curve fitting is a process of determining a possible curve for a given set of values. This is useful in order to estimate any value that is not in the given range. In other words, it can be used to interpolate or extrapolate data. Polynomial curve fitting or Polynomial Regression is a process where the given data-set curve…

              calendar

              23 Nov 2018 12:39 PM IST

                Read more

                Genetic Algorithm. Finding The Global Maxima of The Stalagmite Function in MatLab

                Objective:

                1. Genetic Algorithm A Genetic Algorithm is an optimisation technique which is used to minimise a certain function. When used in optimisation, generally its purpose is to minimise the error of a function. It is often used in curve fitting. This algorithm is named 'Genetic', because of its structure. It is a '…

                calendar

                18 Nov 2018 12:31 PM IST

                  Read more

                  Curve-Fitting by Piece-wise Curves and Spline Function in MatLab

                  Objective:

                  Curve fitting is a process of determining a possible curve for a given set of values. This is useful in order to estimate any value that is not in the given range. In other words, it can be used to interpolate or extrapolate data. We can fit a curve either by using the polynomial regression (check out: Polynomial Curve-fitting,…

                  calendar

                  18 Nov 2018 12:30 PM IST

                    Read more

                    Coding PV-Plot of an Otto Cycle and Calculating the Thermal Efficiency

                    Objective:

                    A code in MatLab to plot the PV Diagram and Thermal Efficiency of an Otto Cycle. Explanations are given in the comments following the code parts. The relationship between the crank-angle and Volume-traced is used in the code to derive the adiabatic curves. Thermal Efficiency has been calculated by the general otto…

                    calendar

                    16 Nov 2018 10:57 AM IST

                      Read more

                      Otto Cycle Plot Generator Using Python Function

                      Objective:

                      Otto Cycle An Otto cycle is an idealized thermodynamic cycle that describes the functioning of a typical petrol or spark-ignition piston engine (Otto engine). The Otto cycle is a description of what happens to a mass of gas as it is subjected to changes in pressure, temperature, volume, addition,…

                      calendar

                      28 Oct 2018 02:39 PM IST

                        Read more

                        Interactive NASA Polynomial File Parsing in MatLab

                        Objective:

                        **This project parses the NASA Polynomials file in an interactive programme where the user can enter the name of a species (which exists in the data file), and the code creates and stores the plots of specific heats, entropies, and enthalpies of the species in particular folders. **   A) File Parsing Meaning:…

                        calendar

                        26 Oct 2018 10:24 AM IST

                        Read more

                        Robotic Arm Simulation In Python (2D)

                        Objective:

                        2D Animation In Python: A basic robotic arm has two essential parts: the main arm and the manipulator. The main arm is the backbone or the support and can rotate with the base and lean in or out based on the requirements. Thus, the arm defines the reach of the robot. The manipulator or grabber is the end part attached…

                        calendar

                        21 Oct 2018 12:00 PM IST

                        Read more

                        Plotting Drag Forces vs (Velocities and Drag Coeff) Over A Moving Body in Python

                        Objective:

                        This program code in python helps to visualise the effect of the drag forces on a moving body at different speeds and at different drag coefficients.   Drag Force The drag force is a type of fluid friction or resistance which is experienced by a body moving inside a fluid medium. Depending upon the type of the…

                        calendar

                        21 Oct 2018 11:28 AM IST

                        Read more

                        Row and Column Matrix

                        Objective:

                        %  Various methods for Row-vector making  a= [ 1 2 3 4 5] %entering direct values a1= [1,2,3,4,5] % using commas to seperate the elements b=1:50   %incremental without the use of \'\'[]\'\' c=[1:50]  %Incremental with \'\'[]\'\' c=[1:0.1:2] % With an increment of 0.1 a= rand(1,5) %using random…

                        calendar

                        27 Aug 2018 03:53 PM IST

                          Read more

                          2-D Robotic Arm Manipulator Animation

                          Objective:

                          % Forward Kinematic of a 2-D Robotic Arm Manipulator clear all close all clc l1= 2; %langth of base arm l2=1; %length of hand/grabber t1=linspace(0,90,20); %range of angles, i.e., the space for the movements t2=linspace(0,90,20); c=1; for i=1:length(t1) T1=t1(i); for j=1:length(t2) T2= t2(j); x0=0; y0=0; x1= l1*cosd(T1);…

                          calendar

                          15 Aug 2018 01:16 PM IST

                            Read more

                            Second Order Differential Equations and Simulating the Motion of a Damped Oscillator

                            Objective:

                            Programme for the animation of a Damped Pendulum Motion   close all %clears all figures clear all %clears all variables clc %clears the command window %Given conditions for the pendulum b =0.05; %Damping constant/coefficient g = 9.81; %acc. due to gravity in m/s^2 l=1; % length of the pendulum in m m=0.1; % mass of…

                            calendar

                            15 Aug 2018 08:53 AM IST

                              Read more
                              Showing 1 of 17 projects