Determine the size for variables used in matlab program

Assignment Help MATLAB Programming
Reference no: EM1370498

Q1) This question is based on matlab..

for i=1:a*b
z(i)=i*a-b;
end

a) if b=3, a=6 how many loops would the following program do?

b) what would be the out put for z(4)?

c) what would be the size (in rows and columns) for variables z, i and b ??

d) of these 3 variables which are scalars and which are arrays?

Reference no: EM1370498

Questions Cloud

Encrypt block in block cipher using key : Suppose that there is block cipher ABC that always encrypts block of b=72 bits using key of k= 60 bits. Prove that XYZ doesn't give much stronger security than ABC.
Characteristics of a statement of cash flow : Discuss and explain the reasons why net income for a particular period does not necessarily reflect a firm's cash flow during that same period.
Computing optimal output of competitive firm : It is supposed that the liquid soap market is perfectly competitive and current price of a case of liquid soap is $42.00. The firm has estimated it's marginal cost function to be as follows: MC=0.006Q.
Find the total current market value of firm debt : In order to accurately assess the capital structure of a company, it is necessary to convert its balance sheet figures to a market value basis. KJM Company's balance sheet as of today,
Determine the size for variables used in matlab program : If b=3, a=6 how many loops would the given program do? what will be the out put for z(4)? what would be size (in rows and columns) for variables z, i and b?
Determining optimal output and price levels : Now assume that there're five firms in the industry, and that they collude to set the price. What price will they set? What will be the output of each firm? What will be the profit of each firm?
Compute effective rate on the bank loan : Bright Flashlight Corporation requires $300,000 to take a cash discount of 2/10, net 70. A bank will loan the money for 60 days at a total interest cost of $5,500.
Describe how if a project manager expects a team to exercise : Describe how if a project manager expects a team to exercise their own judgment and the project manager must provide the team with decision making experience.
Calculate the paid interest amount : Nancy Tai has recently opened a revolving charge account with MasterCard. Her credit limit is $1000, but she has not charged that much since starting the account.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Develop a simulation program

Develop a simulation program

  Symmetry in the rod

matlab programming

  Plot the pressure surface versus latitude and longitude

Plot the pressure surface versus latitude and longitude as a surface plot

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Make a program that will graph the parabolas

Make a program that will graph the parabolas each parabola a different color and put all the parabolas in the same figure or graph

  Impact of zigbee on telecommunication systems

Report on Impact of zigbee on telecommunication systems

  Control design using matlab

Control Design using Matlab,  Please try and explain the characteristic of all the plots and graphs.   Import all the required data in word of simply write in the script itself.

  Z-transform in matlab

Z-Transform in MATLAB, Sketch the z-plane pole-zero plot and determine the stability status for the following digital system. Determine the h(n) in MatLab.

  An efficient human identification using gait analysis

An Efficient Human Identification Using Gait Analysis, Apply specific approach for Pattern Recognition,Implement this approach in MATLAB,Compare and discuss the results with others.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Explore the design of a recursive digital filter

In this simulation we are going to explore the design of a recursive digital filter which might be usedvin a digital radio station. The sampling frequency used in digital radio (DAB) is either 48 kHz or 24 kHz and for the purposes of this simulation,

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd