Risolto


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

oltre 9 anni fa

Domanda


How to change the linewidth of a curve in a graph by using code?
like: x=linspace(0,2*pi); y=sin(x) I want the sine curve's linewidth is 2.

quasi 10 anni fa | 2 risposte | 0

2

risposte

Risolto


Multiple if statements
Write an if-statement that subtracts 5 from outputValue if amplitudeResponse is greater than 10. Write a second if-statement tha...

circa 10 anni fa

Risolto


Crunch that matrix!
You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

circa 10 anni fa

Risolto


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

quasi 11 anni fa

Risolto


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

quasi 11 anni fa

Risolto


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

quasi 11 anni fa

Risolto


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

circa 11 anni fa

Risolto


Add two hex numbers
Add two hex numbers

circa 11 anni fa

Risolto


Is the light on?
If true , yes; If false , no create a logical vector;

circa 11 anni fa

Risolto


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

circa 11 anni fa

Risolto


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

circa 11 anni fa

Risolto


Find the area!
Find the area of a medium Dominos pizza

circa 11 anni fa

Risolto


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

circa 11 anni fa

Risolto


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

circa 11 anni fa

Risolto


Array
Create a 3 by 3 array of 1s

circa 11 anni fa

Risolto


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

circa 11 anni fa

Risolto


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

circa 11 anni fa

Risolto


Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...

circa 11 anni fa

Risolto


Sum of a vetor
y = vectorsum(x)

circa 11 anni fa

Risolto


write an algebraic expression
An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

circa 11 anni fa

Risolto


row removal
Consider a matrix and remove the first row of the matrix.

circa 11 anni fa

Risolto


Sum of series of numbers
Find the sum of numbers from 1-50 using for loop.

circa 11 anni fa

Risolto


Write an expression
if 1 = 2 2 = 5 3 = 10 4 = ?

circa 11 anni fa

Risolto


Polybius Square
Given a string, calculate the coordinates. Input will be always in lowercase. If string is a sentence then use 0 (zero) to indic...

circa 11 anni fa

Risolto


Divisible by 16
Write a function to determine if a number is divisible by 16. This can be done by a few different methods. Here are two: # If...

circa 11 anni fa

Risolto


write an expression
if 1 = 4; 2 = 30; 3 = 120; 4 = 340 write an expression

circa 11 anni fa

Risolto


simple intrest
Cal simple intrest for given details

circa 11 anni fa

Risolto


Average
Calculate the average of two numbers

circa 11 anni fa

Risolto


power
Calculate power for given voltage and current

circa 11 anni fa

Carica altro