Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hniessen

    plot 2 graphic but continous

    try something like this (it is very straight forward), x=0:.1:10; plot(x,yourfunctionname(x)); function [ y ] = yfunc( x ) %YFUNC Summary of this function goes here % Detailed explanation goes here for i=1:size(x,1) if x(i,1) > 0 & x(i,1) <= 2 y(i,1)=2*x(i,1); elseif x(i,1)>2 & x(i,1)<4...
  2. hniessen

    Matlab M-file -&gt; Latex

    I am looking for a package to use in Latex by which I can include a m-file in my latex document while keeping the same layout is in my m-file. I hope someone can help me with it. Regards, Hans
  3. hniessen

    how to work with variables in matlab

    Is it not possible to first define the matrix and the variables afterwards? Greatings, Hans
  4. hniessen

    how to work with variables in matlab

    In Matlab I have defined follow matrix R=[0, -k2-b2, k2+b2+m2, -1; -k1-b1, k1+k2+b1+b2+m1, -k2-b2, 1] How can I ascribe values to the variables k1 k2 b1 b2 m1 and m2 and update the matrix R? greatings, Hans

Part and Inventory Search