{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Chapter 2: 2D Signals and Systems" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 2.12: Frequency_Response.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "//Caption: Frequency Response\n", "//Fig2.12\n", "//page 60\n", "clc;\n", "close;\n", "[X, Y] = meshgrid(-%pi:.09:%pi);\n", "Z = 2*cos(X)+2*cos(Y);\n", "surf(X,Y,Z);\n", "xgrid(1)" ] } , { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 2.16: Frequency_Response.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "//Caption: Frequency Response\n", "//Fig2.16\n", "//page 64\n", "clc;\n", "close;\n", "[X, Y] = meshgrid(-%pi:.05:%pi);\n", "Z = 2-cos(X)-cos(Y);\n", "surf(X,Y,Z);\n", "xgrid(1)" ] } ], "metadata": { "kernelspec": { "display_name": "Scilab", "language": "scilab", "name": "scilab" }, "language_info": { "file_extension": ".sce", "help_links": [ { "text": "MetaKernel Magics", "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md" } ], "mimetype": "text/x-octave", "name": "scilab", "version": "0.7.1" } }, "nbformat": 4, "nbformat_minor": 0 }