Home > By category > Scripts >Development Tools > DGradient



DGradient

  • Downloads: 
  • Views: 
  • Rating:

Gradient along a specified dimension

Y = DGradient(X, Dim, Spacing, Method)
INPUT:
X: Real DOUBLE array, any number of dimensions.
Spacing: Scalar or vector of the length SIZE(X, Dim).
Dim: Dimension to operate on.
Optional, default: 1st non-singelton dimension.
Method: String, order of the applied method for unevenly spaced X:
'1stOrder', faster centered differences as in Matlab's GRADIENT.
'2ndOrder', 2nd order accurate centered differences.
On the edges forward and backward difference are used.
Optional, default: '1stOrder'.

OUTPUT:
Y: Gradient of X, same size as X.

There are a lot of other derivation tools in the FEX. This function is faster (e.g. 25% faster than dqdt and 10 to 16 times faster than Matlab's GRADIENT), works with multi-dim arrays, on a specific dimension only, and can use a 2nd order method for unevenly spaced data.
For vectors or evenly spaced data no temporary memory is needed. Otherwise 1 or 3 temporary vectors of SIZE(X, Dim) are used for the 1st and 2nd order methods.

The C-Mex file must be compiled at first. Pre-compiled files for Win32 can be downloaded at: http://www.n-simon.de/mex
Run the unit-test function uTest_DGradient to check the integrity and measure speed.

Tested: Matlab 6.5, 7.7, 7.8, WinXP, 32bit
Compiler: LCC2.4/3.8, BCC5.5, OWC1.8, MSVC2008
Assumed Compatibility: higher Matlab versions, Mac, Linux, 64bit

Thanks to Robert A. Canfield (central_diff, #12) and Darren Rowland (diffxy, #29312).

Free download from Shareware Connection - Gradient along a specified dimension

Publisher: Jan Simon | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 21-06-2013 | Rating: 0 | Title: DGradient

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/29887/1/DGradient.zip

More downloads from DGradient publisher Jan Simon:

ScaleTime - ScaleTime - fast linear matrix interpolation

DateStr2Num - DATESTR2NUM - Fast conversion of DATESTR to DATENUM

FilterM - FilterM, FiltFiltM: Fast digital filter

strncmpr - Compare last N chars of strings or cell strings

Patch FILTFILT - If applied to a matrix, the function FILTFILT (Signal Processing Toolbox) calls itself recursively for each column.

DGradient keywords:
DGradient related downloads:

Microsoft Outlook 2000 OST Integrity Check Tool - You create an offline folder (.

Mp3 Speed Accelerator - Mp3 Speed Accelerator enables you to speed up your audio files - mp3 files, ogg files and other formats. It can also rip audio track from video files and speed them up. Super easy to use, supports batch conversion. Converts the files very quickly.

CYPHER MILLENIUM - 6 Top-algorithms; encodes files and mail; Digital Signature; Integrity-Check using SHA256; SecretKeys expansion and pre-encoding; Wipe-File Module, Auto-Encode, Paranoia Keyboard(c) and MUCH MORE!

DupExplorer - Need a simple, "just-click-it" type of duplicate files and folders finder solution? Check out DupExplorer, one of the easiest and most straightforward solutions available. Smart comparison algorithm with a wide variety of options. Free trial.

CryptaPix - CryptaPix is an image file management and encryption program for Windows. Organize, print and secure your digital photos and downloaded image files. Resize, rotate, crop, and remove red-eye from photographs. Create standalone slideshows. Much more.

Shareware Connection periodically updates pricing and software information of 'DGradient' from company source 'Jan Simon' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'DGradient' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of DGradient.

New Reviews

Voila - Mac users have never felt much hassle as far as image editing goes, given the fact Apple itself offers two compelling image editing suites. However, serious users may find the inbuilt screen capturing options basic, the fact they are much ahead ...

Norman Antivirus - There is hardly any computer user who does not require protection from various types of malware and internet based threats these days. Instances of malware creators and hackers breaking into top corporate firms and celebrity websites can send a ...

IDrive Classic - For every type of computer user, backing up data has become near compulsory. Apart from data loss caused by hardware snags, you cannot rule out the risk of data loss caused by malware attacks. That explains why millions of PC users back up their ...

Backup Dwarf Home Edition - Making backups of data and media content has become extremely important for computer users nowadays. Owing to hardware failure, you may end up losing gigabytes of precious data. Besides, you may not want to leave sensitive data accessible to all ...

Dragon NaturallySpeaking Standard - No matter what type of computer you use, it becomes necessary to use keyboard for typing. This is the case with average home users as well as network administrators working in professional setups. Would not it be nice if you could give your hands ...

Stellar Insta Backup - Data Backup Software - Taking backup of data stored in your PC is quite essential these days, given the fact average PC users deal with tons of data and hardware failure or OS corruption can happen. However, it is also necessary that you pick the right software for ...

ProAnimator - In Post production setups and 3D animation studios, using specialized CG and special effects app becomes a necessity. ProAnimator is a feature rich 3D design application targeted at motion graphics sector. It is ideal when you want to add some ...

Perfect Photo Suite Premium Edition - For comprehensive image editing and web designing, millions of professionals use Adobe’s powerhouse and industry leading app, namely Photoshop. While Photoshop continues to be the darling of millions for advanced image retouching and ...

Stellar Speedup Mac - While Macintosh computers are known for their stellar speed and multitasking prowess they also become subjected to pitfalls of usage. After prolonged use, junk files pile up and bits of installed apps remain scattered on the hard disk. These, ...

Movavi Video Suite - Video recording has become accessible to the mass owing to advancement of technology and advent of handheld devices like tablets and phone with such features. Whether you use a camcorder or use an Android phone, shooting 1080p HD video is pretty ...




New Downloads

Member Login

PHPJabbers offers you a light
and user-friendly web tool
enabling you to create
password-protected areas on
your site. ...

uilineshift

this function might be useful
for quick and dirty visual
inspection of multiple traces
or timecourses with a
timedelay ...

get_trace

Reads a trace from Tektronics
370 Curve Traqcer

Conic Plotter

This is my second submission.

Minimum Description Length

Returns Rissanen's Minimum
Description Length.

jqVisualize

This plugin gives you an easy
way to use the Visualize
jQuery plugin into WordPress

m4awrite - write m4a format
audio file

m4awrite is a drop-in
replacement for wavwrite that
will write MPEG4 Audio-format
files by piping the output
through an ...

Model Replay

These MATLAB files serve as a
graphical user interface for
using the APMonitor moving
horizon estimation (MHE)
feature

Flashy

We found that there was a
shortage of flash video
wrapper players in the world
that were released under a
fully-Free license.

WebJourney::Widgets on
Rails

WebJourney is a widget-based
Component Management Sysystem
using Ruby on Rails.

Car

This is inspired from BMW's
roadster Z4

WP Tweet Search Tooltip

Adds a tooltip on an chosen
keyword for a search via
twitter.