Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
FlowHeater 4.0.6.1
PrestaShop Upload Images Module 1.2.1
wolfSSL 3.10.0
WhatsApp Clone Script - BlaberChat 1.0
FastReport.Net 2017.1
CCNA Test Launcher 1.0
Rental Property Booking Calendar by PHPJabbers 1.0
Bytescout Spreadsheet SDK 2.70.1553
dbForge Data Compare for MySQL 5.1
Renters – Airbnb clone 1.0
TruDrive - Uber Clone Script 1.0
dbExpress driver for SQL Server 7.3
Alvas.Audio 2016.0
Web CAD SDK 11
AllDox latest
Top Code
Renters – Airbnb clone 1.0
Virtua Flash Policy Daemon 1.0
School Management Script 1.0.4
Brightness Preserving Dynamic Fuzzy Histogram Equalization 1.0
WebVideo 2.2
Just Dial Clone 1.5.7
Billing System 1.0.1
Greedy algorithm for Set Cover problem 1.0
Hotel Management - Full Board Version 6.55
Matlab coder to C++ or C 1.0
Realterm 1.13
Fuzzy c-means segmentation 1.0
EAAL - Eve API Access Layer 0.1.6
Ether MMORPG 0.1
PAM HYIP script software 1.0
Top Rated
Trading Software 1.2.4
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
dbForge Studio for SQL Server Express 5.0
Image Editor Using JavaFX 1.0
Sine Wave Using JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Readymade MLM Software 2.02
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
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: 3
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
http://rredc.nrel.gov/solar/codesandalgorithms/spa/
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: 3



User Review for MSPA
- required fields
     

Please enter text on the image