platonic_solid 1.0 |
Date Added: July 04, 2013 | Visits: 330 |
|
||||||||
function [V,F]=platonic_solid(n,r)Creates the PATCH data, the vertices (V) and faces (F) fora given platonic solid (according to "n" see below) with radius (r)n=1 -> Tetrahedronn=2 -> Cuben=3 -> Octahedronn=4 -> Icosahedronn=5 -> Dodecahedron%% Exampleclear all; close all; clc;r=1;figure;fig=gcf; clf(fig); colordef (fig, 'white'); units=get(fig,'units'); set(fig,'units','normalized','outerposition',[0 0 1 1]); set(fig,'units',units); set(fig,'Color',[1 1 1]);hold on;[V,F]=platonic_solid(1,r);subplot(2,3,1);patch('Faces',F,'Vertices',V,'FaceColor','b','FaceAlpha',0.6,'EdgeColor','k','LineWidth',2); axis equal; grid on; hold on; view(3); axis off;[V,F]=platonic_solid(2,r);subplot(2,3,2);patch('Faces',F,'Vertices',V,'FaceColor','b','FaceAlpha',0.6,'EdgeColor','k','LineWidth',2); axis equal; grid on; hold on; view(3); axis off;[V,F]=platonic_solid(3,r);subplot(2,3,3);patch('Faces',F,'Vertices',V,'FaceColor','b','FaceAlpha',0.6,'EdgeColor','k','LineWidth',2); axis equal; grid on; hold on; view(3); axis off;[V,F]=platonic_solid(4,r);subplot(2,3,4);patch('Faces',F,'Vertices',V,'FaceColor','b','FaceAlpha',0.6,'EdgeColor','k','LineWidth',2); axis equal; grid on; hold on; view(3); axis off;[V,F]=platonic_solid(5,r);subplot(2,3,5);patch('Faces',F,'Vertices',V,'FaceColor','b','FaceAlpha',0.6,'EdgeColor','k','LineWidth',2); axis equal; grid on; hold on; view(3); axis off;
|
License: Shareware | Size: 10 KB |
Java Based Databases
-
Scripts Encryptor Control 3.0.2.1
Scripts Encryptor is a handy utility to scramble (obfuscate) HTML, JavaScript/JScript, C/C++/MFC code. Unlike many other obfuscators it does not employ JavaScript for encoding, which significantly increases the number of web browsers that will be... |
187 KB | |
3D Graphic Tools
-
Mesh To Solid for Rhino 1.0
Mesh To Solid for Rhino is a plug-in for Rhino 2.0 and 3.0. This plug-in gives Rhino to ability to convert a mesh into a solid.A mesh is a useful entity when it comes to defining geometry of an object. However, certain Rhino commands such as... |
1.37 MB | |
Benchmark Tools
-
Solid State Doctor 3.1.4.2
The SSD Utility Suite is an essential tool to provide performance enhancement, SMART monitoring and data security for Solid State drives. This utility suite is a proactive support tool, giving you the ability to make informed decisions regarding... |
7.6 MB | |
MP3 Tools
-
Solid State Challenge 5.1
Solid State Challenge consists of twelve activities to help you teach and learn basic solid-state circuit concepts and troubleshooting. Each use of an activity has new component values and parameters assigned. Activities have context sensitive... |
2.85 MB | |
Development Tools
-
image3Ddata 1.0
This simple function creates a structure array containing coordinate and colour data for 3D images. The example below shows how the function allows one to use the patch function to plot the whole image or a selection of voxels in 3D. The CData is... |
10 KB | |
Development Tools
-
tight subplot 1.0
Subplot tends to leave a lot of empty space around the axes. Tight_subplot allows to adjust the spacing between the axes as well as the margins around the axes.For example:ha = tight_subplot(3,2,[.01 .03],[.1 .01],[.01 .01])for ii = 1:6;... |
10 KB | |
Development Tools
-
arbitrary equal division function 1.0
Divide an arbitrary curve into pieces along the curve without coordinate dependency. Example script file generating the title screen shot shows below:%spiral of Archimedesa=1;t=0:0.2:20; % thetar=a*t; % rx = r.*cos(t);y = r.*sin(t);z = t;%... |
10 KB | |
Graphs and Charts
-
Controllable tight subplot 1.0
Allows fully utilizing the figure surface by defining margins, by wrapping the existing subplot function. Unfortunately the original subplots function spends lavishly the figure area , without allowing the user to control it in a convenient... |
481.28 KB | |
Education
-
Einstein Solid Heat Bath 1.0
The STP EinsteinSolidHeatBath program simulates the exchange of energy between an Einstein solid and a heat bath. The purpose of this simulation is to determine the properties of a Einstein solid at different temperature T and to compare our... |
901.12 KB | |
Utilities
-
Metal Gear Solid 4 Sound Set 1.0
Some nice interface sounds from Metal Gear Solid 4. |
81.92 KB |
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 |