image thumbnail

updated 2 months ago

Fast 'n easy smoothing by Damien Garcia

SMOOTHN allows automatized and robust smoothing in arbitrary dimension w/wo missing values (smooth, curve fitting, image processing)

smoothn(varargin)

image thumbnail

updated 3 months ago

SimMechanics Contact Forces Library by Steve Miller

Contact force models and force laws for multibody modeling in SimMechanics. (contact forces, collision, impact)

Cam_Follower_UI(varargin)

Extr_Data_Box(box_ox, box_ix, varargin)

Extr_Data_Cam(rad1, rad2, d, varargin)

image thumbnail

updated 3 months ago

SimMechanics Mini Golf Library by Steve Miller

Components for modeling a mini golf course. Contact forces are demonstrated on a 9-hole course. (simmechanics, second generation, 2g)

Plane_Data_Ring(ring_od, ring_id)

Demo_Putter_Adjustments.m

Mini_Golf_Model_PARAM.m

image thumbnail

updated 5 months ago

Backhoe Model in Simscape by Steve Miller

Backhoe model, including hydraulic actuators for arm and bucket tilt, and multibody dynamics. (backhoe, excavator, digger)

image thumbnail

updated 6 months ago

CAD to MATLAB to SimMechanics by Steve Miller

Export a CAD assembly to a MATLAB data structure and import into a SimMechanics model. (physical modeling, cad, solidworks)

data2smixml(smiModel,xmlFile)

robot_fromCAD2MATLAB_SolidWorks.m

robot_fromCAD2MATLAB_SolidWorks_with_comments.m

image thumbnail

updated 7 months ago

Physical Modeling Tutorial Exercises by Steve Miller

Physical Modeling tutorial exercises from hands-on workshop events. (simulation, simscape simmechanics..., simscape)

image thumbnail

updated 8 months ago

Mixed-Integer Linear Programming in MATLAB by Seth DeLand

MATLAB files from the webinar (mixedinteger linear p..., milp, webinar)

importBondPrices(workbookFile,sheetName,startRow,endRow)

importCashFlows(workbookFile, sheetName, range)

CashFlowMatching.m

image thumbnail

updated 8 months ago

Scissor Lift Model in SimMechanics by Steve Miller

Scissor lift built from a library of parameterized, reusable components, with a hydraulic actuator. (simmechanics, simhydraulics, simscape)

Extr_Data_Link2Hole(L, W, r)

Extr_Data_Ring(ring_or, ring_ir, deg1, deg2, varargin)

Scissor_Jack_Param_GUI(varargin)

image thumbnail

updated 8 months ago

Aileron Model in SimMechanics by Steve Miller

Aileron model with hydraulic and electrical actuation, including system-level and detailed variants (aerospace, hydraulic, electrical)

image thumbnail

updated 8 months ago

Lift Table Model in Simscape by Steve Miller

Lift table with hydraulic actuation, controlled by an analog circuit, with a 3-D scissor mechanism. (hydraulic, electrical, physical modeling)

image thumbnail

updated 8 months ago

Hybrid-Electric Vehicle Model in Simulink by Steve Miller

Model of a hybrid-electric vehicle with system-level and detailed variants of electrical system. (hev, hybrid electric vehic..., physical modeling)

image thumbnail

updated 8 months ago

Real-Time Simulation of a Hybrid-Electric Vehicle by Steve Miller

Model of a hybrid-electric vehicle that can be configured for real-time simulation. (hev, vehicle, physical modeling)

elec_hev_rt

image thumbnail

updated 8 months ago

Hydraulic Valve Parameters From Data Sheets and Experimental Data by Steve Miller

Models and white paper on obtaining realistic parameter values from data sheets and measured data. (hydraulic, valve, optimization)

...

...

...

image thumbnail

updated 8 months ago

Analog Circuit with Temperature Dependent Resistor by Steve Miller

Active filter implemented as an analog circuit in Simscape whose gain varies with temperature. (electronic, electrical, analog circuit)

startup_Custom_Analog_Filter.m

Custom_Analog_Filter

image thumbnail

updated 8 months ago

Fuel Supply System Model in SimHydraulics by Steve Miller

Fuel supply system with tanks, fuel lines, pumps, control system, and MATLAB code to automate tests. (fuel system, fuel supply, fuel controller)

Run_FSys_Tests.m

Fuel_Supply_System

image thumbnail

updated 8 months ago

Engine Cooling Model in Simscape by Steve Miller

Thermal fluid system in Simscape language using full-flux modeling method (simscape, simscape language, thermal hydraulics)

image thumbnail

updated 8 months ago

Dual Clutch Transmission Model in Simulink by Steve Miller

Model of a dual-clutch transmission with MATLAB scripts for optimizing the shift schedule. (dual clutch, transmission, control)

image thumbnail

updated 8 months ago

Simscape Language: Van Der Pol’s Equation by Steve Miller

Simscape language example showing how to implement and solve a nonlinear second-order ODE. (simscape, simscape language, ode)

Van_Der_Pol_SS

image thumbnail

updated 8 months ago

Simscape Language: Nonlinear rotational spring (Torque == kx^2) by Steve Miller

Simscape language example showing how to use a MATLAB function in the equations section. (simscape, simscape language, mechanical)

Nonlinear_Spring_Test

image thumbnail

updated 8 months ago

Simscape Language: Hydraulic Orifice by Steve Miller

Simscape language example showing how to use inheritance while modeling two hydraulic orifices. (simscape, simscape language, hydraulic)

Hydraulic_Orifice_Test

image thumbnail

updated 8 months ago

Simscape Language: DC Motor by Steve Miller

Simscape™ language electromechanical example defining a simple DC motor. (simscape, simscape language, electromechanical)

DCMotor_Test

image thumbnail

updated 8 months ago

SimMechanics-Simscape Interface Examples by Steve Miller

Models showing connection between Simscape and SimMechanics Second Generation Technology (simmechanics, second generation, 2g)

image thumbnail

updated 8 months ago

SimMechanics Parameterized Part Examples by Steve Miller

Parameterized parts for SimMechanics, including MATLAB functions for defining extrusions. (simmechanics, second generation, 2g)

Extr_Data_Ellipse(a, b, deg1, deg2, ctr, varargin)

Extr_Data_Gear(type, Dp, N, varargin)

Extr_Data_Link1Hole(L, W, r)

image thumbnail

updated 10 months ago

Vehicle Model with Delft-Tyre in SimMechanics by Steve Miller

Vehicle model in SimMechanics using 3-D tire model (vehicle, automotivesuspensionp..., physical modeling)

Configure_TNO_Tire_Test(tire_test)

PlotTireOutputs_UI(varargin)

Plot_Tire_Outputs(index)

image thumbnail

updated 1 year ago

Optimization in MATLAB: An Introduction to Quadratic Programming by Seth DeLand

Files used in "An Introduction to Quadratic Programming" Webinar (optimization, quadratic programming, nonlinear optimizatio...)

Hess(in1)

calculateValue(s0,price,inFlow,turbFlow,spillFlow,C2A,n)

createPlots(turbFlow,spillFlow,inFlow,price,s0,C2A,n)

image thumbnail

updated 1 year ago

CVaR Portfolio Optimization by Seth DeLand

Conditional Value at Risk (CVaR) portfolio optimization with the PortfolioCVaR object (portfolio optimizatio..., cvar, conditional value at ...)

CVaRPortfolioOptimizationExample.m

image thumbnail

updated 1 year ago

Aircraft Power Network in SimPowerSystems by Steve Miller

Aircraft Power Network in SimPowerSystems with AC and DC networks (physical modeling)

Generate_Sim_Settings(param_vals,param_name,rtp)

LeadAcidBattery.lib( libInfo )

Select_APN_Model_Config(mdl,variant)

image thumbnail

updated almost 2 years ago

Wind Turbine Model by Steve Miller

Wind turbine model including blades, nacelle, pitch and yaw actuation, generator and control system. (wind, wind turbine, wind turbine model)

image thumbnail

updated almost 2 years ago

Gillespie's Direct Method Stochastic Simulation Algorithm by Daniel Charlebois

Code to stochastically simulate coupled chemical reactions. (simulation)

SSA_constitutive.m

image thumbnail

updated 2 years ago

Files for the 2012 Webinar "Tips and Tricks - Getting Started Using Optimization with MATLAB" by Seth DeLand

These are the files that were used for the demonstrations in the webinar. (optimization, global optimization, fmincon)

RunThermistorExample()

ThOptimPlotCircuit(options,state,flag,Tdata,VData,Res,ThV...

VEMap(x)

image thumbnail

updated 2 years ago

Grid-Connected PV Array by Pierre Giroux

Two demonstrations of a grid-connected PV array using SimPowerSystems. (pv array, boost converter, power grid)

PV_model_Param

PVarray_Grid_IncCondReg_det

PVarray_Grid_PandO_avg

image thumbnail

updated 2 years ago

Simulink model of three phase induction motor by BILAL ASAD

This is a complete simulink model of a three phase induction motor. (induction motor, dq model, torque)

Induction.m

Tariq

image thumbnail

updated 2 years ago

Loss Calculation in a 3-Phase 3-Level Inverter Using SimPowerSystems and Simscape by Pierre Giroux

SimPowerSystems(SPS) and Simscape are used to calculate losses in a 3-phase, 3-level inverter. (loss calculation, thermal model, igbt module)

PlotSpec1_Diode(LossSpec_Diode)

PlotSpec1_IGBT(LossSpec_IGBT)

LossSpec_Diode_LibCreate.m

image thumbnail

updated 2 years ago

Loss Calculation in a Buck Converter Using SimPowerSystems and Simscape by Pierre Giroux

A SimPowerSystems model is used to calculate switching and conduction losses in a buck converter. (loss calculation, thermal model, igbt module)

PlotSpec1_Diode(LossSpec_Diode)

PlotSpec1_IGBT(LossSpec_IGBT)

LossSpec_Diode_LibCreate.m

image thumbnail

updated 2 years ago

All Types of 1-Phase Rectifiers and Inverters by Siva Malla

1-ph controllable and uncontrollable rectifiers and Inverters with and without Freewheeling diode (rectifiers, pwm, spwm)

lab_ckts

image thumbnail

updated 2 years ago

IEEE 1459-2000 by Martin Delgado

IEEE 1459-2000 Power Definitions (simulation)

caso5321Rev1

image thumbnail

updated 2 years ago

SVPWM based speed control of Induction Motor with 3-level Inverter using V/F method by Siva Malla

design SVPWM for 3 level inverter for speed control of Induction motor based on V/F method (induction motor, vf, multilevel)

svpwm_IM

image thumbnail

updated 2 years ago

Optimal Component Selection Using the Mixed-Integer Genetic Algorithm by Seth DeLand

Use the mixed-integer genetic algorithm to solve an engineering design problem. (optimization, mixed integer, genetic algorithm)

ThOptimPlot(options,state,flag,Tdata,VData,Res,ThVal,ThBe...

objectiveFunction(x,StdRes, StdTherm_Val, StdTherm_Beta,T...

tempCompCurve(x,Tdata)

image thumbnail

updated almost 3 years ago

award-winning FDI solution in wind turbines by Nassim

The matlab code of the solution of "FDI Design Competition for Wind Turbines" (winning 1st place) (fault detection, fault diagnosis, wind turbines)

Fault_decision_b1m1_t1(u)

Fault_decision_b1m2_t1(u)

Fault_decision_b2_t2(u)

image thumbnail

updated almost 3 years ago

PV System by Siva Malla

characteristic of PV system (pv system solar syste...)

pv1

image thumbnail

updated 3 years ago

wind turbine load extrapolation by wei zhao

This program is used to extrapolate 50-year return period extreme loads of wind turbine. (wind turbine, load calculation, iec 614001)

L_momemt.m

main.m

image thumbnail

updated 3 years ago

Robot Soccer 2.0: Modeling Team Strategies with Stateflow and Network Effects with SimEvents by Simulink Dude

Additional discrete modeling enhancements to the demo (3d, animation, ball)

RoboSoccer_11b

Team_1_Strategy

Team_2_Strategy

image thumbnail

updated 3 years ago

Modeling, Simulation and 3D Animation of a Simple Assembly Line by Simulink Dude

A simple template that combines SimEvents, Stateflow, Simulink and Simulink 3D Animation. (simevents, 3d, animation)

assembly_line

image thumbnail

updated 3 years ago

SAE Paper Demo: Model-Based Design of Hybrid Electric Vehicles by Simulink Dude

Demo files to accompany the paper by the same name (modelbased, design, hybrid)

Hybrid Electric Vehicle Demo for Simulink 7 Tour World (R...

Hybrid Electric Vehicle Demo for Simulink 7 Tour World (R...

Hybrid Electric Vehicle Demo for Simulink 7 Tour World (R...

image thumbnail

updated 3 years ago

SimEvents Entity Animation in 3D by Simulink Dude

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation (simevents, simulink, 3d)

simevents_animation(block)

luggage_animation

image thumbnail

updated 3 years ago

International Flight Route Planning Simulator using Aerospace Blockset by Simulink Dude

Example that shows how you can visualize airline routes on the globe. (flight, simulator, air)

run_me_now.m

fly_747_earth

image thumbnail

updated 4 years ago

Robot Soccer: An Exercise in Learning the Key Features of Simulink by Simulink Dude

Demo files to accompany the Introduction to Simulink webinar (simulink, introduction, webinar)

RoboSoccer

RoboSoccer_10b

Team_1_Strategy

image thumbnail

updated 4 years ago

Solution of Differential Equations with MATLAB & Simulink: Lorenz Attractor Case Study by Simulink Dude

Simulink design pattern for solving differential equations, visualize results in MATLAB graphics (differential, equation, lorenz)

lorenz_graphs(block)

lorenz_graphs_level_1(t,x,u,flag, x_initial)

lorenz_attractor

image thumbnail

updated 4 years ago

Animate a Wind Farm with MATLAB by Simulink Dude

A VRML model of a wind turbine, animated with MATLAB and Simulink 3D Animation. (wind, farm, turbine)

wind_turbine_code.m

image thumbnail

updated 4 years ago

Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing by Simulink Dude

Several enhancements made to the original 747 demo. (fly, 747, matlab)

terrain_plane.m

Contact us