Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.072.194 Times

Create 3D-interactive HTML File from MATLAB surface, Part2 1.0

  Date Added: June 28, 2013  |  Visits: 235

Create 3D-interactive HTML File from MATLAB surface, Part2

Report Broken Link
Printer Friendly Version


Product Homepage
Download (21 downloads)

This function generates output files for Javaview (www.javaview.de). It allows to display and interact with 3d-Graph not only in the javaview engine, but also in html-Documents. See javaview documentation for more information about how to interact. This function depends of the installed toolboxes. If the Symbolic Math Tooolbox (SMT) is installed, the html is exported half automatically/ half manually. If the SMT is not installed the function will open the generated stl file in JavaView and you must modify the result manually (see without_mupad.pdf for further information) and export it to html. Don't forget to have your jars-directory in the html-file. With SMT there are 4 output files: a) first file (.stl)is generated by the surf2stl function (Many thanks to Bill McDonald, this function is availabe at the MCFE and was pick of the week on June 5th, 2009) b) the second and third file (jvx) and (jvd) are input files for javaview and are generated by mupad (or javaview). The jvx-file describes the 3d-graph, the jvd file descrribes scene options c) the last file is an html file, were the 3d-Graph is displayed Because the applet in html file need the javaruntime for javaview the jars directory from the "source" (input parameter) directory is copied to the destination folder. open_html is true or false. When it is true your standard webbrowser is opened and you will see the surface in the html file. Parameter: 1. surface_handle - handle to surface graph 2. filename - filename for *.stl, .jvx, *.jvd, *.html 3. destination - folder where all files are saved 4. source - source folder of jars (see jvaview installation path) 5. open_html - shows the result html in your standard webbrowser Sorry for the work around with the handmade copy and paste when to generate the javaview files with SMT. But evalin(symengine, ...) does not produce the required files.Online Example: http://wwwpub.zih.tu-dresden.de/~s9034647/peaksurface.html http://wwwpub.zih.tu-dresden.de/~s9034647/test.htmlhttp://wwwpub.zih.tu-dresden.de/~s9034647/Beethoven.htmlhttp://wwwpub.zih.tu-dresden.de/~s9034647/Garko50k.htmlExample: su=2*pi/150; sv=2*pi/20; [u,v]=meshgrid(0:su:(2*pi),0:sv:(2*pi)); r1=2; r2=0.4; r3=0.3; p1=2; p2=3; x=r1*cos(u*p1) + r2*cos(u*p1).*cos(u*p2) +r3*cos(u*p1).*sin(v); y=r1*sin(u*p1) + r2*sin(u*p1).*cos(u*p2) +r3*sin(u*p1).*sin(v); z=r2*sin(u*p2)+r3*cos(v); h=surf(x,y,z); javaview_nosym(h, 'test', 'C:UsersskDesktop3d-PDFjvtest', 'C:Program Files (x86)JavaViewjars', 1); The Code was created under Matlab 2010a, but it also works without Symbolic Math Toolbox from version Matlab 7.0.4 (R14, SP2) Bugs and suggestions: Please send to Sven Koerner: koerner(underline)sven(add)gmx.deYou need to download and install first: www.javaview.de http://blogs.mathworks.com/pick/2009/06/5/writing-to-stl-files/ (Symbolic Math Toolbox with MuPad)License to use and modify this code is granted freely to all interested, as long as the original author isreferenced and attributed as such. The original author maintains the right to be solely associated with this work.Programmed by Sven Koerner: koerner(underline)sven(add)gmx.de

Requirements: No special requirements
Platforms: Matlab
Keyword: Dmeshgrid P13d2 P23d3 R13d2 R23d04 R33d03 Sinup Cosup Su3d2pi150 Sv3d2pi20
Users rating: 0/10

License: Shareware Size: 583.68 KB
CREATE 3D-INTERACTIVE HTML FILE FROM MATLAB SURFACE, PART2 RELATED
Development Tools  -  Sum of probability distributions 1.0
SUMPDF Probability distribution of the sum of distributions[S,P,C]=SUMPDF(X1,P1,N1,X2,P2,N2,...) will return the distribution of the sum of distribution P1, at values at X1, N1 times plus the distribution P2, at values in X2, N2 times... The...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB