Sources on this Page

> Headlines by Category

 Home / Science / Mathematics

You are using the plain HTML view, switch to advanced view for a more complete experience.


Matlab scripts for FUND 4.0 MG, an integrated assessment model of climate change that computes the social cost of carbon.
The code embeds the Maier-Reimer/Hasselmann carbon cycle models, models for other greenhouse gases and precursors, the Schneider/Thompson climate model, models of sea level and ocean pH, a Solow growth model, models of primary energy use and carbon dioxide emissions, and five alternative impact models.
The model is calibrated to data for the period 1750-2010. Variables are projected for the period 2010-2100, following the four main IPCC SRES scenarios.

Feret diameter and oriented box

Two functions for working with the Feret diameter of labelized particles in images.
The function imFeretDiameter computes the Feret diameter for each one of the specified directions. The maximal diameter can be obtained by computing the max of the result.

The function imOrientedBox computes Feret diameter for several directions, and keep the direction that produces the minimal-area enclosing rectangle. The function drawOrientedBox can be used for visualising result.

Both functions could easily be adapted to a set of points.

GetJFrame - Retrieves a figure's underlying Java frame

  jframe = getjframe(hFigOrComponent)
GETJFRAME retrieves the current figure (gcf)'s underlying Java frame, thus enabling access to all 35 figure callbacks that are not exposed by Matlab's figure.
Notable callbacks include: FocusGainedCallback, FocusLostCallback, KeyPressedCallback, KeyReleasedCallback, MouseEnteredCallback, MouseExitedCallback, MousePressedCallback, MouseReleasedCallback, WindowActivatedCallback, WindowClosedCallback, WindowClosingCallback, WindowOpenedCallback, WindowStateChangedCallback and 22 others.
The returned jframe object also allows access to other useful window features: 'AlwaysOnTop', 'CloseOnEscapeEnabled', 'Resizable', 'Enabled', 'HWnd' (for those interested in Windows integration) etc. Type "get(jframe)" to see the full list of properties.
GETJFRAME(hFig) retrieves a specific figure's underlying Java frame. hFig is a Matlab handle, or a list of handles (not necessarily figure handle(s) - the handles' containing figure is used).
   get(getjframe,'ListOfCallbacks'); %display list of supported callbacks
   set(getjframe,'WindowStateChangedCallback','disp(''Window min/maxed'')')
   jframes = getjframe([gcf,hButton]); % get 2 java frames, from 2 figures
Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)
This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 7+, but use at your own risk!


A circuit based simulation model for a PV cell for estimating the IV characteristic curves of photovoltaic panel with respect to changes on environmental parameters (temperature and irradiance) and cell parameters (parasitic resistance and ideality factor).This paper could be
used to analyze in the development of MPPT(maximum power point tracking) algorithm. Using a Shockley diode equation,an accurate simulink PV panel model is developed. 60W Solarex MSX60 PV panel is chosen for evaluating the developed model.


Simple and very flexible logger for MATLAB.
Can be configured to log messages to the MATLAB console and/or an external file. The format of the log-line is configurable. The message itself can be just a simple string or an fprintf/sprintf-like sequence of parameters. Besides timestamp, each log-line can contain the caller-function name.
For more details try "help logThis".


This function returns the value of the nth Hermite polynomial of x. It is defined in terms of the "physicists" Hermite polynomials (see Wikipedia).
Syntax: val = hermiteh(n,x);
Where "n" is the order of the polynomial and "x" is the argument. "x" can be a scalar or an array with up to two dimensions.

This function is expected to be a bit faster for high orders than the submission acknowledged below because it uses the explicit formula and not the recursion relation.

Probability and Stochastic Processes: A Friendly Introduction for Electrical and Computer Engineers, Third Edition International Student Version


This text introduces engineering students to probability theory and stochastic processes. Along with thorough mathematical development of the subject, the book presents intuitive explanations of key points in order to give students the insights they need to apply math to practical engineering problems. The first five chapters contain the core material that is essential to any introductory course. In one-semester undergraduate courses, instructors

Hi all,

i am having a figure with 3 subplots

Data is been continiously received from a udp connection as X,Y,Z

The same data has been converted into 3 format and plotted on 3 subplots

NOTE: These 3 subplots are Linked with X axis( where x axis is time)

Now, when i try to zoom a particular subplot , which should result is zooming of all the 3 subplots, it is not happening as the next data which comes will again reframes my X axes,

Please let me know what mechanism to be incorporated so that i can zoom all the 3 plots while plotting the live data being received through UDP connection

Thanks in Advance..
Integrating Pelles C and MATLAB for C99 64-bit compiling under Windows
I tried to integrate the Pelles C compiler into the MATLAB environment with the goal to compile ANSI C99-based MEX-code under Windows 7 64-bit. For this, I tried to employ http://www.mathworks.com/matlabcentral/fileexchange/20877-mexopts-for-pelles-c

However, unfortunately, I receive the following error message when trying to compile the enclosed example file:
mex mandelbrot.c
C:Program FilesMATLABR2012aexternincludetmwtypes.h(819): error #2048: Undeclared identifier 'char16_t' (did you mean 'char_T'?).
mandelbrot.c(12): warning #2114: Local 'xi' is not referenced.
mandelbrot.c(12): warning #2114: Local 'xr' is not referenced.
  C:PROGRA~1MATLABR2012ABINMEX.PL: Error: Compile of 'mandelbrot.c' failed.
Error using mex (line 206)
Unable to complete successfully.

Who knows how to really integrate Pelles C? Also a different way to compile files containing <complex.h> would be appreciated.

i need a frame to video conversion code. pls send .

Post Selected Items to:

Showing 10 items of about 1400

home  •   advertising  •   terms of service  •   privacy  •   about us  •   contact us  •   press release design by Popshop •   Official PR partner B2BLogger.com •   © 1999-2014 NewsKnowledge