A résolu


MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...

environ un mois il y a

A résolu


MATLAB 101: Count the Evens
Write a MATLAB function that accepts an array of integers and returns the total count of even numbers present in the array. Note...

environ un mois il y a

A résolu


MATLAB 101: Scalar-Vector Multiplication
Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a ...

environ un mois il y a

A résolu


MATLAB 101: Tribonacci Sequence
Each number in the Tribonacci series is the sum of the three preceding ones. Sequence: 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, ... Writ...

environ un mois il y a

A résolu


MATLAB 101: Multinacci Sequence Generator
Create a function that generates a sequence of length n based on the sum of the previous l terms. If l = 2, it acts like the Fi...

environ un mois il y a

A résolu


MATLAB 101: Lucas Sequence
The Lucas sequence follows the same additive rule as Fibonacci, but starts with 2 and 1. Sequence: 2, 1, 3, 4, 7, 11, 18, 29, 47...

environ un mois il y a

A résolu


MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...

environ un mois il y a

A résolu


MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...

environ un mois il y a

A résolu


MATLAB 101: List Manipulation: Add and Remove
Create a MATLAB function that performs dynamic list operations on a cell array of strings. The function should accept the curren...

environ un mois il y a

A résolu


MATLAB 101: Conditional Product or Sum Calculator
Write a MATLAB function that accepts two integer numbers. If the product of the two numbers is less than or equal to 1000, retur...

environ un mois il y a

A résolu


MATLAB 101: Wye to Delta Impedance Converter
n electrical network analysis, transforming a Wye (Y) configuration of impedances (Z1, Z2, Z3) into an equivalent Delta (Delta) ...

environ un mois il y a

A résolu


MATLAB 101: Delta to Wye Impedance Converter
In electrical network analysis, transforming a delta (Delta) configuration of components into a wye (Y) configuration is vital f...

environ un mois il y a

A résolu


MATLAB 101: Equivalent Resistance Calculator
Calculate the equivalent resistance R_eq for n resistors connected in Series or Parallel.

environ un mois il y a

A résolu


MATLAB 101: Area of an ellipse
Write a MATLAB function that accepts these two values a (major axis length), b (minor axis length) as inputs and returns the cal...

environ un mois il y a

A résolu


MATLAB 101: Extracting Even/Odd Values
Given an array or a matrix, extract all elements that satisfy a specified parity condition ('even' or 'odd') and return them as ...

environ un mois il y a

A résolu


MATLAB 101: University Department Data Analyzer
You are given an array containing the number of students in various academic departments of a university, along with a parallel ...

environ un mois il y a

A résolu


MATLAB 101: Student Marks Analyzer
An array is given that contains the marks received by a group of students in their class test. Write a function that processes t...

environ un mois il y a

A résolu


MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.

environ un mois il y a

A résolu


MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...

environ un mois il y a

A résolu


Shuffle primes based on their digits
A sequence consisting of prime numbers only starts with 2, the first prime. The next term is the smallest unused prime that shar...

environ un mois il y a

A résolu


Draw '\'
Can you draw the sign '\' by zeros and ones? NOTICE: Be x-by-x matrix.

environ un mois il y a

A résolu


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

environ 2 mois il y a

A résolu


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

environ 2 mois il y a

A résolu


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

environ 2 mois il y a

A résolu


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

environ 2 mois il y a

A résolu


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

environ 2 mois il y a

A résolu


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

environ 2 mois il y a

A résolu


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

environ 2 mois il y a

A résolu


NOT
If a not equal to zero, b = true, else, b = false.

environ 2 mois il y a

A résolu


OR
If a greater than zero or c less than 10, b = true, else, b = false.

environ 2 mois il y a

Charger plus