Code Directory
 Visual Basic & VB.NET
New Code
VirtualTable component 9.6
Review Assistant 3.0
Devart ODBC Driver for Oracle 1.2
DAC for MySQL 3.0.0
Penny Auction Software 3.1
Blasting Fax Server
YetiShare - Professional File Upload Script 4.2
MLM Forced Matrix Plan Software 1.0.2
Exe Guarder 4.1345
Devart ODBC Driver for Salesforce 1.0
File Sharing Script 1.0
Anti iFrame Buster in JavaScript 1.0.0
Hotel Management System 6.1
dbForge Studio for SQL Server Express 5.0
Getting IP Address 1.0.0
Top Code
Hotel Management - Full Board Version 6.1
CMS2CMS: IP.Board to bbPress Migration Plugin 1.0.1
Sign Here Guestbook 1.I
Hotel Management System 6.1
Huffman Coding and Decoding for Text Compression 1.1
Ninja Playland 1.1
Image Editor Using JavaFX 1.0
Snake game C 1.1
AJ Matrix Pro - Multi Level Marketing Software 1
SuperGeek Free Document OCR 2.5.6
matlab code for automatic speech recognition 1.0
VirtualTable component 9.6
Neuro-fuzzy classifier 1.0
Simple Fuzzy Control Demonstration 1.0
Point of Sale Solution 1.0
Top Rated
dbForge Studio for SQL Server Express 5.0
Image Editor Using JavaFX 1.0
Sine Wave Using JavaFX 1.0
Animation Demo JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
Quick Maintenance and Backup for MS SQL
ATN Resume Finder 2.0
ATN Site Builder 3.0
Bus Booking Script 1.0.4
Time Slot Booking Calendar PHP 1.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
WeBuilder 2015 13.3
MSPA 1.0
File ID: 83517

MSPA 1.0
Download MSPA 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 2
Submit Rating:
MSPA 1.0 Description
Description: The MATLAB function mspa is a mex interface function to the C function spa.c developed by National Renewable Energy Laboratory (NREL) for accurately computing the position of the sun on the sky.

The algorithm on which the reference implementation spa.c is based is described in the report "Solar position algorithm for solar radiation application" by Ibrahim Reda and Afshin Andreas, National Renewable Energy Laboratory (NREL) Technical report NREL/TP-560-34302, Revised January 2008.

The report is available from
There is also a link from which the reference implementation spa.c and a corresponding spa.h file can be downloaded.

Once the zip-file in this submission is unpacked and the files spa.c and spa.h downloaded to the same directory, the mex interface function can be compiled with mex mspa.c spa.c

The calling syntax of mspa is
res = mspa( arg )
where arg is a column vector with 17 rows containing the arguments to the function spa.c, and res is a column vector containing the results of the function spa. The ordering of individual parameters in the argument follows the one described in the report, look at the file mspa_tester.m for details.

A valid argument arg can also hold multiple columns, i.e. it can be a 17 x n matrix where n > 1. If so, the result is also a matrix with equally many columns and each column of the result holds the result of the function spa evaluated for the corresponding column of the argument matrix.

License: Shareware

Related: Syntax, Column, Vector, arguments, Calling, mspac, Submission, Zipfile, Function

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 2

User Review for MSPA
- required fields

Please enter text on the image