Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(2 Marks) Create a script of an animated plot of a sequence of 3D graphs in the defined spring colours of MatLab for the function

(2 Marks) Create a script of an animated plot of a sequence of 3D graphs in the defined spring colours of MatLab for the function f(x,y) = 100xcos(k)-100ysin(k) , with (x,y) 2; 1 x 20; 1 y 15; 1 k 70, in 0.1 steps. Hint: iterate over a loop for k, with a step of 0.1. For each value of k, generate the matrix f(x,y) and plot it using the commandsurf.Add the commandsaxis([1 10 1 10 -1000 1000]) and pause(0.01)to your code in the appropriate location to keep the axes parameters constant throughout the simulation; and to slow down the animation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 2 Lnai 9285

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Joao Gama ,Alipio Jorge ,Carlos Soares

1st Edition

3319235249, 978-3319235240

More Books

Students also viewed these Databases questions