Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

4 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

4 years ago

Solved


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

4 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

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 years ago

Answered
K-Means clustering image processing
Read these two documentations: https://in.mathworks.com/help/stats/k-means-clustering.html https://in.mathworks.com/help/stats...

4 years ago | 0

Answered
How to calculae R^2 in linear regrresion ?
In order to use the pre-defined library for calculating R-squared value, you'll have to first obtain a linear regression fit for...

4 years ago | 0

Answered
How to plot an asymptotic approximation ?
Hello: You can read this MATLAB documnetation for asymptotes. For plotting non-vertical or non-horizontal asymptotes, you may...

4 years ago | 0

Answered
how can I create a GUI for Analytic Hierarchy Procces (AHP) case ?
Hi Andreas: GUIs in MATLAB can be readily created using MATLAB GUIDE. It is easy to use and has a robust functionality. Howe...

4 years ago | 0

| accepted

Answered
Analysis the columns of excel data in MATLAB and simultaneously plotting
Hi Rizwan: You can use 'Import Data' tool in the HOME toolbar of MATLAB. (Instead of using 'Import Data' you can also use load(...

4 years ago | 0

Answered
MATLAB2020a Response issue
Hi Jagan: Your specifications are okay as per the requirements for MALAB 2020a. However, look for the processes or software ins...

4 years ago | 0

Answered
How to RUN .exe file with Input file (example input.txt) in MATLAB
You can use the built in function system(command) to execute the given command in windows cmd (It also works in Linux). You may ...

4 years ago | 0

| accepted

Answered
How to draw multiple surface plots on the same mesh?
Did you try hold on? figure; surf(z1,r1,I1); hold on zlin2= linspace(-101,101,300) * lambda; %whatever shifted values you wa...

4 years ago | 0

| accepted

Solved


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

4 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

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:...

4 years ago

Question


What is "l"?
Hello everyone, I recently bought a book on Inverse Synthtic Aperture Radars and it contains many MATLAB codes for verifying th...

4 years ago | 1 answer | 0

1

answer