Matlab programming Definition and 68 Threads

MATLAB (an abbreviation of "matrix laboratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages.
Although MATLAB is intended primarily for numeric computing, an optional toolbox uses the MuPAD symbolic engine allowing access to symbolic computing abilities. An additional package, Simulink, adds graphical multi-domain simulation and model-based design for dynamic and embedded systems.
As of 2020, MATLAB has more than 4 million users worldwide. MATLAB users come from various backgrounds of engineering, science, and economics.

View More On Wikipedia.org
  1. A

    MATLAB Crank-Nicholson in 2D with MATLAB

    I have the code which solves the Sel'kov reaction-diffusion in MATLAB with a Crank-Nicholson scheme. I would love to modify or write a 2D Crank-Nicolson scheme which solves the equations: ##u_t = D_u(u_{xx}+u_{yy})-u+a*v+u^2*v## ##v_y = D_v(v_{xx}+v_{yy}) +b-av-u^2v## Where ##D_u, D_v## are...
  2. kelvin490

    MATLAB MATLAB how to automatically read a number of files

    I would like to plot a number of 3D graphs from different data files. For example I am using fid = fopen('SS 1.dat','r'); to read the first file and then plot a graph. How to set the program to change the name to 'SS 2.dat' automatically? Also for the tenth file the name becomes 'SS 10.dat'...
  3. R

    MATLAB Single vehicle tracking using Fourier transform-MATLAB

    I am working on a project which is based on importance of phase only reconstruction of a signal obtained from fft. Now ,I have detected vehicles from the Video of Traffic on road taken using stationary camera ( Please download the 1.47 MB video for testing MATLAB Code by ( step1) click on the...
  4. R

    How to find phase values at neighboring pixel in an image?

    I have computed magnitude and phase spectrum of very famous image of cameraman using fft function in MATLAB.Here,we get magnitude and phase spectrum of the whole image. But I want to find phase values of the neighboring pixels . So if given gray scale image is of dimensions 256*256 and if I...
  5. R

    How Can You Extract Specific Signals from a 2D Image Using Fourier Transform?

    Suppose 3 1D Signals x(t), y1(t) and y2(t) are given as x(t)=sin(40*pi*t); y1(t)=.5*sin(40*pi*t) and y2(t)=x(t)+y1(t). Left side =Right side Here,values of x(t)and y1(t)i.e.(Right side) are given and we get y2(t)(Left side).The plots of x(t),y1(t) and y2(t) are plotted below...
  6. lonely_nucleus

    MATLAB How long does it take to get good at matlab?

    is learning MATLAB like learning c++ where it takes like a year of programming everyday to get good at or is it a smaller programming language? I just finished learning html at codeacademy.com and it was very easy to learn and I learned it fast, is MATLAB larger than html? If you used MATLAB...
  7. H

    MATLAB Matlab Programming Guide: Physics Student Resource

    I am looking for a concise textbook or anything else for Matlab programming, very useful and not necessarily introductory, appropriate to the needs of physics students especially solid state physics. Thanks in advance for any help that anyone can provide.
  8. _N3WTON_

    Matlab Programming: Simple Guessing Game

    Homework Statement Write a program for a simple guessing game. The program should first prompt the user for a number between 1 and 100. After each guess the program should inform the user whether the guess was too high or too low. When the user picks the correct number, inform them and let them...
  9. L

    MATLAB Programming Loops Question

    Homework Statement Write a program that does the following: Prints the four gases on the screen and asks the user to select which gas to find the heat capacity for. Asks the user for a temperature. Asks the user if another temperature is needed (enter yes or no). If the answer is yes...
  10. S

    Matlab Programming for Shear Force & Bending Moment Diagrams of a Beam

    Need help!Matlab programming for shear force and bending moment diagrams of a beam Homework Statement A program is required that will calculate the shear force and bending moment diagrams for a cantilevered beam of arbitrary length. The loads may be point loads or distributed loads,or a...
  11. G

    MATLAB programming assignment (for loop)

    Homework Statement (see attached file) Homework Equations (see attached file) The Attempt at a Solution isbn=input('Enter 9 Letter ISBN number: ','s'); for i=1:1:length(isbn) (%indent)num=str2num(cat); (%indent)check=num*i %somewhere in...
  12. B

    MATLAB Lax wendroff two step method, matlab programming

    hi i have been trying to program a general problem to the lax wednroff technique that when done i can hopefully expand on to model a dam break, before i move on I am hoping if someone could tell me if I am on the right tracks thanks kyle function compare close all;clc;clear all %intial...
  13. H

    MATLAB Matlab programming using shooting method, Euler and Runge Ketta methods

    I need help to solve this coursework: MATLAB PROGRAMMING COURSEWORK OBJECTIVES:  Learn to solve engineering problems using MATLAB  Write Euler and Runge-Kutta initial-value ODE solvers  Write a Shooting Method boundary-value ODE solver  Investigate the properties of the solvers ...
  14. P

    MATLAB Access Variable in MATLAB Structure Using User Input

    Hi I am trying to use MATLAB for some data analysis. I start by getting user input for a variable called exptno, Then I want to access a location in a structure, but to do this I need to append the variable exptno to the name of the structure. Ill try and give an example to hopefully make it...
  15. F

    MATLAB How Can I Simplify This Matlab Source Code for GUI Implementation?

    Hi, Matlab noob here. I need your help to simplify this Matlab source code. Here the code that i currently use for k=1:1:gg k1=gains(k,1); k2=gains(k,2); k3=gains(k,3); . . kn=pidgains(k,n) [T,X,Y]=sim('Evaporator_PID',[Tstart Tfinal],opt); end...
  16. A

    MATLAB How Can I Program a Series Using Pi in Matlab?

    How can I program this series the n looking symbol is Pi thanks in advance Aron
  17. R

    MATLAB Calculate Grades and Pass/Fail Status with Basic Matlab Programming

    http://img16.imageshack.us/img16/3078/15688239.gif So here's my script: x=[a, b, c, d]; w=[0.65 0.2 0.05 0.1]'; final=x*w; disp(final); if 65>final>=50 disp('Grade is: C') elseif 80>final>=65 disp('Grade is: B') elseif final>=80 disp('Grade is: A') If final>=50...
  18. R

    MATLAB Designing a Matrix of Running Variables: Solving a Matlab Programming Problem

    I need to design a matrix of running variables (m x n) that displays an array of ones and zeros in the following order; 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 and 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 So the values of m and n can be any value. Any suggestions? Thanks
Back
Top