# matlab

### Issues Replicating Simulink Model within MATLAB (2DOF)

Hey all, I've been trying to debug a model I've created of a 4DOF geared system within Simulink by reproducing the results in MATLAB going from...
Thread by: Sirsh, Mar 11, 2017, 1 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### I Working out the equation for coordinates on a graph

I have a series of data points for X and Y points on a graph. The data is quite random and I am trying to work out a trend line so I can then form...
Thread by: Saints-94, Mar 6, 2017, 7 replies, in forum: General Math

### MATLAB Plotting the tragectory of an asteroid in MATLAB

I am trying to plot the trajectory of an asteroid in MATLAB using ode23. The only bodies in the system are The Sun, Earth, Mars and Jupiter and...
Thread by: JayFlynn, Mar 2, 2017, 7 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### Python Python and MATLAB giving different results for same code?

I am trying to learn Python by translating my MATLAB codes into Python. My translated Python code is giving slightly different result as compared...
Thread by: Atr cheema, Feb 24, 2017, 11 replies, in forum: Programming and Computer Science

### 4DOF Spur Gear System - Eigenvalues not corresponding with EQs?

Hi there, I am modelling a four degree of freedom system which is the dynamics of two spur gears in mesh, having two rotational and two...
Thread by: Sirsh, Feb 22, 2017, 3 replies, in forum: Mechanical Engineering

### MATLAB Does MatLab have this kind of function?

I have a set of variables that are always inputs for several functions that I made. Does MatLab have a kind of function that stores these...
Thread by: ecastro, Jan 15, 2017, 3 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### MATLAB How to Set a Variable in Matlab as an Integer Only?

Is there a function in Matlab that presets the value of a variable as an integer only? For example I will set the variable 'y' as an integer at...
Thread by: ecastro, Jan 13, 2017, 2 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### MATLAB How to make 2D plot of points with different colors?

I want to make a 2D plot of points with different x, y coordinates and have colors depending on a separate variable. I have make column vectors...
Thread by: kelvin490, Dec 13, 2016, 2 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### Find Fourier transform and plot spectrum by hand & MATLAB

1. The problem statement, all variables and given/known data [ATTACH] Link: http://i.imgur.com/JSm3Tqt.png 2. Relevant equations ##\omega=2\pi...
Thread by: Captain1024, Dec 1, 2016, 9 replies, in forum: Engineering and Computer Science Homework

### MATLAB "Linear Model" of a Pendulum via Euler's Method

In my problem the linear modal is defined as the first term in the series expansion of \sin(x) so: \sin(x) = x - \frac{x^{3}}{3!}+\dots...
Thread by: Euler2718, Nov 16, 2016, 1 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### MATLAB Arduino-MATLAB communication using SerialEvent() for PID Loop

Hello, I have an arduino code for driving a peltier pile to a given set point (TEMP_SP). I am trying to input the set temperature from Matlab GUI...
Thread by: troubled_grad, Oct 28, 2016, 2 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### MATLAB How to extract data from existing JPEG/TiFF graph?

Is there any method to extract data from a graph in JPEG/TIFF format, using simple software such as MATLAB? I have a graph as shown below:...
Thread by: kelvin490, Oct 27, 2016, 2 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### MATLAB Problem with Generating Barnsley Fern Fractal in MATLAB

The code is as followed: function fern() AI = [0 0 ; 0 0.16]; AII = [ 0.85 0.04 ; -0.04 -0.85 ] ; AIII = [ 0.2 -0.26 ; 0.23 0.22 ] ;...
Thread by: Euler2718, Sep 21, 2016, 3 replies, in forum: MATLAB, Maple, Mathematica, LaTeX, Etc

### How to get the last variable of a for loop in MATLAB

Aloha guys, I am just having trouble getting MatLab to output only the last variable of my "for loop." If anyone can help all I am looking for is...
Thread by: KonaGorrila, Sep 8, 2016, 2 replies, in forum: Programming and Computer Science

### I How to turn model of Schrödinger's Equation 2D?

Hi, I am a student in the Netherlands, currently 17 years old and at the end of my 'middelbare school', meaning that next year I'll be a bachelor...
Thread by: IsaiahvH, Sep 3, 2016, 6 replies, in forum: Quantum Physics

### Problems with Matlab code for simulating spring motion

The issue I am having is setting up the actual program for the problem. I am having trouble interpreting the code and, because of that, having...
Thread by: bcolson, Aug 25, 2016, 1 replies, in forum: Engineering and Computer Science Homework

### Designing butterworth filter of Nth order

I want to design a digital butterworth lowpass filter of nth order, with only freedom of choice to user being order of the filter and the cut off...
Thread by: Xatax, Aug 9, 2016, 2 replies, in forum: Electrical Engineering

### Matlab deployment Error because of folder permissions

Hey guys, so I wanted to give Matlab a shot regarding programming standalone applications but I keep getting the same error whenever I use...
Thread by: Guidestone, Jul 21, 2016, 2 replies, in forum: Programming and Computer Science

### What was most helpful understanding Signals and Systems?

Hey guys! This is my first day on the forum so, hey! I'm a third year electrical engineering student and I'm really having some trouble with...
Thread by: Woa90210, Jun 23, 2016, 7 replies, in forum: Academic Guidance

### Generating SPWM using arduino-simulink environment

hi all......am trying to generate sinusoidal pulse width modulation using arduino-simulink for my inverter board....I simulated the SPWM logic in...
Thread by: srinaath, Jun 6, 2016, 1 replies, in forum: Electrical Engineering