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

  Time domain design and analysis

To design a "custom" controller to reduce the vibrations of the seat and a PID controller to reduce the vibration of the seat

  Mobile robot control and potential field

Write a MATLAB code to compute forces due to each obstacle and goal. Compute total force on vehicle at point(x,y).

  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.

  Fingerprint watermarking techniques

Need to investigate the best method to embed watermark image into fingerprint image.

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Compute the power spectral density vector

Compute the power spectral density vector. Plot the spectrogram using the same parameters as in lecture.

  Create a vector in matlab

Create a three dimensional diagram of function.

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Compute the eigenvalues and eigenvectors of the matrix

Compute the eigenvalues and eigenvectors of the matrix

  Linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM.

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

  Design simple interface hardware

Evaluate the capability in selecting and configuring a microcontroller unit designing simple interface hardware and writing subroutines to operate those interfaces

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