Community Profile # Mahaveer Singh

Last seen: circa un anno ago Active since 2021

THE INNOVATIVE

#### Statistics

All
• • • • • #### Content Feed

View by

I want to create a matlab program to perform this operation and show the result in each operation in table
S=0; x(1)=0; % initial value of x. for i=2:1:200 for k=1:1:i-1 S(k)=x(i-k).*f(k); end x(i)=sum(S); end sumation=x

circa un anno ago | 1

Solved

circa un anno ago

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

circa un anno ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

circa un anno ago

Solved

What percentage?
Calculate the output c as the percentage of a on b for given a and b.

circa un anno ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

circa un anno ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

circa un anno ago

what is the error with my code
% give the initial value of sum. % like sum=0 (initial vlue of sum) N = 4; x = [ 3 4 5 6 ]; sum=0; for k = 0 : N-1 ...

circa un anno ago | 0

Solved

Decimal Comparison
*Background* A utility of particular interest to Cody and other MATLAB ventures is comparing the equality of two numbers. In ...

circa un anno ago

Solved

Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

circa un anno ago

Solved

Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

circa un anno ago

Solved

Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

circa un anno ago

Question

During Self-Paced Course of Simulink Onramp, I have faced a issue that in the assessment window there is no task provided. I hav...

circa un anno ago | 0 answers | 0

### 0

Solved

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

circa un anno ago

Solved

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

circa un anno ago

help me --> Taylor series cos(x)
% n is required length of series.Give initial value of n as your imagination to speed up of %calculation. function y = mycos(x,...

circa un anno ago | 0

How to create a Matrix
A=[22:-1:11]; M= reshape(A,4,3)

circa un anno ago | 1

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

circa un anno ago

Solved

MATLAB Basic: rounding II

circa un anno ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

circa un anno ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

circa un anno ago

Solved

Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

circa un anno ago

Solved

Multiply 2 numbers
Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

circa un anno ago

Solved

Determine the square root
Determine the square root of the value the user has entered, n.

circa un anno ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

circa un anno ago

Solved

Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

oltre un anno ago

Solved

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

oltre un anno ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

oltre un anno ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

oltre un anno ago

Solved

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

oltre un anno ago