Subject Computer Science MATLAB for Computer Science


Create a plot for 3D sphere that is altered using some controls (or, better yet, using multiple controls).

You should implement this assignment using two scripts (one setup script and one update script).

Create the Matlab scripts ("dot m files") necessary to implement the following and upload them along with a PDF of the associated figure window(s).

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

function varargout = sphereplotter(varargin)
% SPHEREPLOTTER MATLAB code for sphereplotter.fig
%      SPHEREPLOTTER, by itself, creates a new SPHEREPLOTTER or raises the existing
%      singleton*.
%      H = SPHEREPLOTTER returns the handle to a new SPHEREPLOTTER or the handle to
%      the existing singleton*.
%      SPHEREPLOTTER('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in SPHEREPLOTTER.M with the given input arguments.
%      SPHEREPLOTTER('Property','Value',...) creates a new SPHEREPLOTTER or raises the
%      existing singleton*. Starting from the left, property value pairs are
%      applied to the GUI before sphereplotter_OpeningFcn gets called. An
%      unrecognized property name or invalid value makes property application
%      stop. All inputs are passed to sphereplotter_OpeningFcn via varargin.
%      *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
%      instance to run (singleton)".

% Edit the above text to modify the response to help sphereplotter

% Last Modified by GUIDE v2.5 24-Sep-2015 22:06:04

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton', gui_Singleton, ...
                   'gui_OpeningFcn', @sphereplotter_OpeningFcn, ...
                   'gui_OutputFcn', @sphereplotter_OutputFcn, ...
                   'gui_LayoutFcn', [] , ...
                   'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});...

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Get help from a qualified tutor
Live Chats