Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

11 months ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

11 months ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

11 months 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]; ...

11 months ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

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

11 months ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

11 months 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 displayed ...

11 months ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

11 months ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

11 months ago

Solved


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

11 months ago

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

11 months ago

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

11 months ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

11 months ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

11 months ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

11 months ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

11 months ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

11 months ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

11 months ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

11 months ago

Solved


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

11 months ago

Answered
I'm having multiple problems with my code and i dont know where to ask
I understand that you’re looking for resources to help with your project on Kalman filters in MATLAB. Here are some suggestions:...

11 months ago | 0

Answered
Is there a way to get attibutes of a road?
In MATLAB, you can use the RoadRunner application to create and edit scenarios for simulating and visualizing driving environmen...

11 months ago | 0

Answered
How to run simulink model in ThingSpeak?
Yes, you can run a Simulink model in ThingSpeak. Here are the general steps to do so: Collect Data: Begin by collecting data us...

11 months ago | 1

Answered
How to use frequency analyzer(bode plotting) when I have PID controllers and PWM in my simulation Model?
The answer mistakely uploaded in the comment section please check it their

11 months ago | 0

Question


ABOUT SOFTARE DEFINED RADIO
I am an 3rd year undergrad student i know the basic knowledge of matlab with theoretical knowledge of communication systems i am...

11 months ago | 1 answer | 0

1

answer

Answered
How to align different lengths words/strings in fprintf?
str1 = 'aab'; str2 = 'AABB_'; str3 = '不好玩'; fprintf('%-20s\n', str1); fprintf('%-20s\n', str2); fprintf('%-20s\n', str3);...

11 months ago | 0

Answered
How to get the plot from ODE
% Define the ODE function odeFunc = @(t, y) -2 * y; % Define the time span tspan = [0 5]; % Specify the initial conditio...

11 months ago | 0

Answered
Make video from images
% Example data imageFolder = 'path_to_your_images'; % Replace with the actual path to your image folder imageFiles = dir(fullf...

11 months ago | 0

Solved


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

11 months ago

Load more