Rank: 43 based on 1115 downloads (last 30 days) and 20 files submitted
photo

Ameya Deoras

E-mail
Company/University
The MathWorks

Personal Profile:

 

Watch this Author's files

 

Files Posted by Ameya Deoras View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Oct 2014 Screenshot Natural Gas Storage Valuation Demos and files from the webinar Author: Ameya Deoras energy trading, energy risk, commodities, energy, pricing, valuation 54 0
03 Oct 2014 Screenshot Customizable Heat Maps Visualize data as a heatmap with many customizable options. Author: Ameya Deoras heat map, color map, heatmap, r2014b graphics ready, visualization 156 27
  • 4.90476
4.9 | 23 ratings
17 Dec 2013 Screenshot MATLAB for R Users in Computational Finance Learn how to use MATLAB and R together to tackle your computational needs Author: Ameya Deoras r, rstudio, time series, finance, monte carlo, simulation 48 0
06 Dec 2013 Screenshot Natural Gas Storage Optimization & Intrinsic Valuation Calculate optimal injection/withdrawal schedules for gas storage facility Author: Ameya Deoras energy trading 31 0
  • 4.5
4.5 | 2 ratings
12 Sep 2012 Screenshot Real-Time Stock Viewer Plot and analyze live market data from Bloomberg or Yahoo. Author: Ameya Deoras finance, modeling, analysis, bloomberg, yahoo, datafeed 79 3
  • 4.25
4.2 | 8 ratings
Comments and Ratings by Ameya Deoras View all
Updated File Comments Rating
03 Oct 2014 Intelligent Dynamic Date Ticks Create plots with date-friendly data cursors and smart date ticks that scale with zooming & panning. Author: Ameya Deoras

MATLAB R2014b has built-in rotated date tick labels, as well as a datetime data type for dates. It is quite a substantial update. Check it out!

http://www.mathworks.com/products/matlab/whatsnew.html

10 Jul 2014 Table Breakpoint Optimization A set of tools for finding the best way to reduce the size of a table. Author: Tucker McClure

Excellent! Works great for approximating a curve with piecewise linear functions

05 May 2014 Midi Tools This code allows you to read and write midi files. Author: Christine

For those running into problems with java, you can also dynamically add the JAR to MATLAB's java path by executing the following. This is less of an effort than changing classpath.txt

javaaddpath('C:\MidiLibrary\KaraokeMidiJava.jar')

where C:\MidiLibrary in this example is where the JAR is located.

15 Feb 2014 Customizable Heat Maps Visualize data as a heatmap with many customizable options. Author: Ameya Deoras

Karin, thanks for catching that oversight. Jonathan, technically "iscellstr" is correct but since the text function allows empty numeric values as the string, I will change it to iscell.

The changes will be in today's update. Thanks!

12 Dec 2013 Customizable Heat Maps Visualize data as a heatmap with many customizable options. Author: Ameya Deoras

Hi everyone. Thanks for the comments/feedback. I have updated the function with fixes and new features:
* It now correctly handles the labels for small matrices with labels.
* There are two options minColorLevel and maxColorLevel that allow you to specify how the data range maps to the color range. This is useful when comparing heatmaps and ensuring the same color-data mapping between heatmaps
* There is now a nanColor option that allows you to specify a special color for missing data elements.

Comments and Ratings on Ameya Deoras' Files View all
Updated File Comment by Comments Rating
15 Dec 2014 Intelligent Dynamic Date Ticks Create plots with date-friendly data cursors and smart date ticks that scale with zooming & panning. Author: Ameya Deoras Juliane

Regarding Anuraags question: Is there any workaround to be able to use dynamic date ticks inside of a uipanel?
It would be great if anyone could help!

10 Dec 2014 clickableLegend A legend with clickable strings that let you hide and show objects in a plot. Author: Ameya Deoras Hoi Wong

It seems like in R2014b, I cannot just override the already generated legend by just calling clickableLegend() or clickableLegend(gca). Anybody has the same issue?

In my case, the legends are generated by gscatter(), so I don't have control over it.

27 Nov 2014 Credit Risk Modeling with MATLAB These are the supporting MATLAB files for the MathWorks webinar of the same name. Author: Ameya Deoras Carmine

Hi,
could you help me?
When I run the Credit_Var.m file, matlab give this message:

Error using instargbondmod (line 119) Settle must be less than Maturity for all Bonds.

Error in cfamounts (line 284) [CouponRate, Settle, Maturity, Period, Basis, EndMonthRule, ...

Error in prbyzero (line 54) [CFlowAmounts, CFlowDates] = cfamounts(CpnRate, Settle, Maturity, ...

I don't understand why.

Could you help me?

Thanks

Carmine

04 Nov 2014 Customizable Heat Maps Visualize data as a heatmap with many customizable options. Author: Ameya Deoras Alexander

There's also a bug in @getGraphicsObjectsPositions. If there's only one column in a heatmap (i.e. one column label), then "extents" is not a cell array. So you need to add the following check in two corresponding places where it is being used as a cell array:

if iscell(extents)
extents = vertcat(extents{:}); % Collect heights in one matrix
end

03 Nov 2014 Customizable Heat Maps Visualize data as a heatmap with many customizable options. Author: Ameya Deoras Alexander

And another small issue: you should not rely on the fact that axes are the current axes. Specifically, all the calls to @colorbar, such as the one below, should specify axes through 'peer' property:

c = colorbar(p.Colorbar{:});
% should be
c = colorbar(p.Colorbar{:}, 'peer', p.hAxes);
% etc

Contact us