About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 90
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: James Tursa (8 other programs)
See full specifications

scripts default iconreshape0, reshaping with padding or truncating (Scripts) Publisher's description

Reshapes an array like the MATLAB intrinsic reshape function

Reshapes an array like the MATLAB intrinsic reshape function. But reshape0 does not require that the total number of elements must remain the same. If the new array is larger, then it will be zero or blank padded. If the new array is smaller, then it will be a truncated vehttp://www.downloadplex.com/index.php?a=admin&b=programs&os=Scripts&addrsion of the original. char arrays are padded with blanks, cell arrays are padded with empty double arrays, logical arrays are padded with false (zeros), and all other numeric arrays are padded with 0's. Structures cannot be padded or truncated (this feature is not yet implemented for the struct class ... maybe in a future version).

reshape0 is not as efficient as reshape when there is no truncating or padding involved because reshape0 will generally copy data whereas reshape will do a lazy copy.

Building (one-time only):

>> mex -setup
(then follow instructions to select a C / C++ compiler of your choice)
>> mex reshape0.c

That's it! Now you are ready to use reshape0.

In the unlikely case you get this error message:

bit16 define symbol is not a 16-bit integer

You will need to change the definition of the bit16 symbol in the reshape0.c file. You need to ensure that this is a 16-bit integer type for your system so that the MATLAB char class (which is 16 bits) will work properly. You might have to change the word "short" to something like int16_t or uint16_t to get it to work. Contact me and I will help.

System Requirements:

MATLAB 7.2 (R2006a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

reshape0, reshaping with padding or truncating (Scripts) Tags:

Click on a tag to find related softwares

Is reshape0, reshaping with padding or truncating (Scripts) your software?

Manage your software

Most Popular

scripts default icon ADP Forum (Scripts) 2.0.3
ADP Forum is a discussion board system that doesn't use any database, but instead stores all the data in... Read more
scripts default icon Soraxdesign PHP Guestbook (Scripts) 3.2.5
The Soraxdesign PHP Guestbook is a simple PHP Guestbook with no MySQL database required, which offers a... Read more
scripts default icon PHPizabi (Scripts) 0.848b-C1
PHPizabi is one of the most powerful social networking platforms on the planet
scripts default icon my little forum 2.0RC1
my little forum is a simple web-forum that supports classical thread view (message tree) as well as... Read more
scripts default icon Tobi's Download Server for Download Managers 0.9
Tobi's Download Server is a PHP/MySQL solution for providing Document and/or Data downloads in a... Read more

Related Category

» Auctions (36)
» Blog (217)
» Books (75)
» Calculators (17)
» Calendars (50)
» Chat Scripts (162)
» Countdowns (1)
» Counters (2)
» Database Tools (1345)
» Date and Time (14)
» Development (1506)
» Documents (3)
» E Commerce (72)
» Education (127)
» Email Systems (202)
» Guestbooks (42)
» Healthcare (2)
» Link Checking (12)
» Link Indexing (46)
» Match Making (7)
» Miscellaneous (201)
» Modules (9734)
» Multimedia (126)
» Networking (113)
» Organizers (4)
» PHP Classes (7)
» Real Estate (1)
» Security (1)
» Top Sites (6)
» Web Fetching (1)
» Web Sites (3)
» Wikis (73)
» XML and PHP (2)