1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

HELP MATLAB program

  1. Nov 7, 2009 #1
    Hi i'mm needing help creating a MATLAB program to calculate liquid solutions, i'm gonna try to explain the program i want,

    imagine you have to 2 water solution one is water the other one is detergent, what i have to do is to create a code that will allow me to mesure the level of misture between the 2 solution being the variables the time and the position.

    Another exemple, imagine you have a glass and you have a solution of water and sugar completlly dissolved, in the begining you have a level of 0 misture, it means you have 50% sugar and 50% water, as the time goes bye the sugar starts to get on the bottom of the glass and the water (supostly without sugar on the top of the glass) so on the bottom you have a value of -1 that tells you that there is only sugar and on the top you have a value of 1 that tells you that there is only water there but as you change the position of the mesure the value changes allowing you to know if is has more sugar or water, and as the time goes bye in the same place the value also changes more positive on the top and more negative on the bottom.

    Can anyone help me creating this?

    (sergiomppinto@hotmail.com)
     
  2. jcsd
  3. Nov 8, 2009 #2

    Mark44

    Staff: Mentor

    You probably won't get much help here until you show that you've made some effort at getting started on it.
     
  4. Nov 30, 2009 #3
    Dear Sirs.,

    I'm starting to work with image processing. Suppose I have a 3D matrix MMM with the following size: 41x41x21. (X- 41 points Y-41 points Z- 21 points).
    I want to place on MMM(:,:,1) and on MMM(:,:,21) 2 bmp pictures. How can I do it but
    more importly how do I plot MMM with the condition that MMM(:,:,2:20) is transparent.

    I assume that the 2 bmp pictures are colored and MMM doesn't have to be a 3D matrix.
    I'm more interested in showing the 2 pictures with a space between them.

    Many Thanks
    Amir Yefet
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook