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
ES Simple Uploader 1.1
Advanced Grocery Store Script 1.0.4
PHP Vacation Rental Script 1.0
ES File Upload & Download Manager 2.9
Viscomsoft .Net Image Viewer SDK 1.15
PostgresDAC 3.0.1
Naukri Clone Script 1.0.4
Hex Comparison 5.11749
VISCOM PDF Viewer SDK ActiveX 1.62
VISCOM Image Viewer CP Pro ActiveX SDK 12.12
dbForge Event Profiler for SQL Server 1.0
Fax Server Pro 9.2.0413
Real Time Changing Clock v1.0
IP2Location Geolocation Database 2015
Viscomsoft RTMP Streaming Directsho 1.02
Top Code
How to use register a filetype 1.01
JLog/JScriptLog - Prolog in Java* rc
MLM software
Killer Guestbook Script 1.1
Sign Here Guestbook 1.I
Billing System 1.0.1
The Digital Guestbook Script 2.01.04.03.01
ASPGuestbook Script 1.1
Leave Application Management System 2.0.1
Hotel Management - Full Board Version 5.29
Hotel Management CRM 1.0
Battleship for MATLAB 1.0
Command School Student Management System 109
php Free Chat for Scripts 1.0
MATLAB TUTOTIAL 1.0
Top Rated
Time Slot Booking Calendar PHP 1.0
SelectPdf Html To Pdf Converter for .NET 1.0
PHP CRM Platform 1
Availability Booking Calendar PHP 1.0
Gz Hotel Booking Script 2.0
PHP GZ Blog Script 1.1
PHP Digital Download Script 1.0.4
GS RichCopy 360 File Copy Software 7.1
WTK MLM Software 1.6.5
Duceplus 2.1
SoundCloud Clone 3.0
Netflix Clone 3.0
Hulu Clone 3.0
DTM Data Generator for JSON 1.00.01
CAMCOM CHAT 5.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: 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
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: 2



User Review for MSPA
- required fields
     

Please enter text on the image