A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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]

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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:...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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

plus de 2 ans il y a | 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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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);...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

A résolu


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

plus de 2 ans il y a

Charger plus