Write a function to draw backbone of the protein, Programming Languages

Write a function drawCA(aname, coords) that uses the plot3 command to draw the Cα backbone of the protein. When calling this function, you should pass in the aname and coords variables returned by the readPDBfile function from Part 1. Your function for this part does not return anything; it draws a 3D plot.

Your drawCA function should loop over all the atoms, and pull out the xyz coordinates for all atoms with the name ' CA ', and ignore all the other atoms. The plot3() function is the 3D equivalent of the familiar plot(), and is called in much the same way. Try doc plot3 for more information.

Posted Date: 4/2/2013 1:59:41 AM | Location : United States







Related Discussions:- Write a function to draw backbone of the protein, Assignment Help, Ask Question on Write a function to draw backbone of the protein, Get Answer, Expert's Help, Write a function to draw backbone of the protein Discussions

Write discussion on Write a function to draw backbone of the protein
Your posts are moderated
Related Questions
3d Interpolation using matlab from x,y, and z coordinates in a csv file and reading them after that interpolating them..

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Define the Parameter Passing Mechanism - Computer Programming? The Parameters are syntactically identifiers and they are used within the body of the function and sometimes the

Write a script called 'prob3.m' that does the same thing as the previous question except that it makes use of a switch-case construct instead of an if-else. In the file 'hw4.m'

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

What are the Functions in Computer Programming? A program is completed up of one or more functions, with one of these being main(). Function is a self-contained block of progra

The Maze Game from Laboratory 7 loads its maze directly in the program's code. This should be avoided as it requires the program to be recreated if the maze needs to be changed. In

Identifying the Central Individual in a Social Network 1. Introduction You have just been hired by a social networking company! The division you are working in is particul

AMCC PowerPC 440 EPx Sequoia Evaluation Kit, Embedded Linux Development Kit (ELDK), and Xenomai A. Description of the Project The project's objective is to design a set of