Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.321.767 Times

space125: Almost equally spaced points in logarithmic space 1.0

  Date Added: May 16, 2013  |  Visits: 283

space125: Almost equally spaced points in logarithmic space

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



Suppose we need to generate points equally spaced in logarithmic space. This is often useful with semilogx, semilogy, or loglog plots and can be easily accomplished by the logspace command. Let's generate 10 values between 1 and 1000 equally spaced in the log-space:>> Dlogspace = logspace(log10(1),log10(1000),10)Dlogspace = 1.0e+003 * 0.0010 0.0022 0.0046 0.0100 0.0215 0.0464 0.1000 0.2154 0.4642 1.0000 That's great. But sometimes, the D variable must be integer. Well, OK, let's round the values.>> Drounded = round(Dlogspace)Drounded = 1 2 5 10 22 46 100 215 464 1000 Again, this is easy. But the values are not easy to remember, since they are different in each decade.And this is the moment where space125 comes in. It generates values of 1, 2, and 5 multiplied by powers of 10:>> D = space125(1,1000)D = 1 2 5 10 20 50 100 200 500 1000Other examples:>> D = space125(1,789)>> D = space125(0.0235, 5.7)Pros and cons of space125:The function |space125| generates 3 easy-to-remember integer points in each decade of the scale. You cannot change it (that's the minus), but very often you needn't change it (that's the plus). The values 1, 2, and 5 are based on my personal experience and are sufficient for the majority of my needs.If the domain should be covered with higher density, I suggest using the>> round( logspace(log10(xmin),log10(xmax),nPoints) )command.Of course, if there is no need for integer values, use the original MATLAB logspace command

Requirements: No special requirements
Platforms: Matlab
Keyword: Easytoremember Examples Function Scale Space
Users rating: 0/10

License: Shareware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


SPACE125: ALMOST EQUALLY SPACED POINTS IN LOGARITHMIC SPACE RELATED
Development Tools  -  Pseudo-Wigner distribution 1.0
The pseudo-Wigner distribution function provides space-frequency information from a given image. In this application, image data can be locally analyzed in any desired direction by the use of an sliding 1-D small window. Calculation time is...
10 KB  
Development Tools  -  Blind channel estimation for STBC using higher order statistics 1.0
This algorithms implements a blind channel estimation algorithm for Space-Time Block Coded communications. The algorithm exploits the statistical independence of sources before space-time encoding. The channel matrix is estimated by minimizing a...
10 KB  
Communication  -  Basic radiowave propagation models 1.1
This ZIP file contains function that provide simulation of the following models:- Free space loss calculation- Reflection quantization in generic surfaces for vertical and horizontal polarizations- Plane Earth loss calculations, and- Calculation...
10 KB  
Development Tools  -  mriphantom 1.0
Raw MRI data are generated analytically from k-space coordinates using the (continuous) Shepp and Logan head phantom function. K -space coordinates are typically entered as 2D matrices (frequency and phase encodes).This tool is ideal for testing...
10 KB  
Development Tools  -  A Corner Detector based on Global and Local Curvature Properties 1.0
CORNER works by the following step:1. Apply the Canny edge detector to the grey level image and obtain a binary edge-map.2. Extract the edge contours from the edge-map, fill the gaps in the contours.3. Compute curvature at a low scale for each...
2.75 MB  
Development Tools  -  Smooth Triangulated Mesh 1.0
This function smooths a triangulated Mesh / Patch.Supports accurate curvature flow smoothing. Which smooths in the direction of the normal keeping the edge ratio's the same.Also supports Laplacian smoothing with inverse vertice-distance based...
10 KB  
Business  -  GNU Zile 2.3.18
GNU Zile is a lightweight Emacs clone. Zile is short for Zile Is Lossy Emacs. Zile has been written to be as similar as possible to Emacs; every Emacs user should feel at home. Zile has all of Emacs's basic editing features: it is 8-bit...
358.4 KB  
Graphs and Charts  -  Function Grapher Script 1.1
This script allows you to graph any function you enter on the scale of your choice, assuming you use the correct javascript syntax.For example, to use Cos x, use Math.cos(x). Or, for x^2, use Math.pow(x, 2), etc.
10 KB  
Development Tools  -  fminsearch modifed for higher scale smooth function 1.0
This modification of fminsearch solves an issue with this simplex implementation when the function to minimize is smooth at a high scale, but rough at a low scale, i.e. when plotted with the parameters axis being (?10,10), there is a clear global...
10 KB  
Development Tools  -  State Space to Transfer Function 1.0
This code demonstrates how to convert a dynamical multi input multi output (MIMO) system from state space form to Transfer function form. Here you can provide the A, B, C, D matrices describing the dynamics of your system (or use function rss() to...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB