Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 months ago

Solved

Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

4 months ago

Solved

Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

4 months ago

Solved

Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

4 months 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.

4 months ago

Solved

Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

4 months ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

4 months ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 months ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

4 months ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

4 months ago

Solved

Given a and b, return the sum a+b in c.

4 months ago

Solved

Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

4 months ago

Solved

Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

4 months ago

Solved

Rank of matrix
Find the rank of given matrix

4 months ago

Solved

Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

4 months ago

Solved

Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

4 months ago

Solved

4 months ago

Question

running for loop gives error " Row index exceeds table dimentions "
i want to extraxt specific range of data from a table names as "Raw", and finally find mean of selected data assigned to variabl...

5 months ago | 1 answer | 0

### 1

Question

how to add a number in a variable in a multiple?
i want to generate a data from zero to 180 degree for that i write A = 0:45:180; so i will get A = 0 45 90 135 180 now i wa...

6 months ago | 1 answer | 0

### 1

Question

How to reduce precision of data greator than zero only? (Matlab R2019a)
Hello... Lets suppose i have a data stored in a variable A = [1.23323 45.24343 0.1 0.001 455.34543 ...

10 months ago | 1 answer | 0

### 1

Question

How to detect which type of data user selected 'text' or 'excel' file via "uigetfile" and then perform further code?
i have written a code that allows user to input data and give both options of "text" and "Excel"..that is [filename, pathname]...

11 months ago | 1 answer | 0

### 1

Question

How to import all sheets of excel file with "UIgetfile" option?
i m writing a code that fetch a excell file including all sheets and store that data in a Variable etc. What I've managed to do ...

11 months ago | 1 answer | 0

### 1

Question

Appdesigner standalone app not showing full Options? R2020a
i have made a simple app which plots sine wave.. it has a switch button which toggle the plot between app.UIAxes & Figure 1 (Bas...

12 months ago | 0 answers | 0

### 0

How to Export appdesigner Plot and UITable directly to PDF?
I found these links also Relavent for people to start Generating Reports, PDF and Generating Templates or linking with Matlab......

1 year ago | 1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Question

How to Export appdesigner Plot and UITable directly to PDF?
i have made a simple app in appdesigner which have a UITtable and a UIAxes graph .. i want to design a template so my plot and...

1 year ago | 2 answers | 0

### 2

Question

While plotting, how to Convert YYaxis left via some formula and display it on YYAxis right...(Using R2020a)
i have imported a file that contains data "Range" and "dBsm" and plotted it....My dBsm data is on YYaxis 'left' now i wish that ...

1 year ago | 1 answer | 0

### 1

Question

getting error in simulink onramp "Matlab Function block 7.2"..Failed to evaluate mask initialization command..
i have done the wright command to submitt the task but its giving error again and again... stucked here.. kindly guide.

1 year ago | 1 answer | 0

### 1

how to extract a specific number from a UITable and display that which row of that table that number belongs?
Shared Relavent Help for CellSelection Callback in pdf.

1 year ago | 0

| accepted

Question

How to use filloutliers for only positive numbers of a data array?
so if data is stored in Variable 'a' a = [ 2 1 23 -1 2 5 -36 6 -1] so it should perform filloutliers only on positve number ...

1 year ago | 1 answer | 0