Resuelto


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

casi 2 años hace

Resuelto


square root
Find the square root (y) of an input (x).

casi 2 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

casi 2 años hace

Resuelto


length of a vector
Find twice the length of a given vector.

casi 2 años hace

Resuelto


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

casi 2 años hace

Resuelto


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

casi 2 años hace

Resuelto


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

casi 2 años hace

Resuelto


04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

casi 2 años hace

Resuelto


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

casi 2 años hace

Resuelto


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

casi 2 años hace

Respondida
Plotting of a rolling ball
@Cem Eren Aslan, you can use plot function handle and delete it at end of every iteration inside the loop, data = [0 ...

casi 2 años hace | 0

| aceptada

Respondida
readmatrix returning last column as NaN
@Philip The last column has additional character (semicolon) ' ; ' even though it has numeric data. Use readtable to check that ...

casi 2 años hace | 1

| aceptada

Respondida
issues about app design
function DropDown(app,event)

casi 2 años hace | 0

| aceptada

Respondida
How to solve algebraic equations for different values of variables ?
eqn = Ac.*I.*eta-m.*c.*(Te-Ti)==0;

casi 2 años hace | 0

| aceptada

Respondida
imagesc graph axis setting probelm in Matlab Appdesigner
@준홍Ok. It may be for this reason, using *sprintf* function when you print to status text area value. This function prints output...

casi 2 años hace | 0

Respondida
About While Loops problems
It has already exited, the first while loop, but it's waiting for next input from user ... See the message at bottom left of win...

casi 2 años hace | 0

Respondida
My User-defined Function is in red
>>[numout,unit] = MyUnitConverter(25,'cels2fahr') Call your function as above from command window

casi 2 años hace | 0

Resuelto


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

casi 2 años hace

Respondida
How to extract a slider value?
@Darío Imbernón Clavero, You can call the ValueChangedFcn property for the uislider function, and define functions for ValueCha...

casi 2 años hace | 0

Resuelto


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

casi 2 años hace

Resuelto


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

casi 2 años hace

Resuelto


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

casi 2 años hace

Respondida
2 variables symbolic function representation
Hi @laura bagnale, you can use the function handle and choose a suitable plot function for representation that best fits your ne...

casi 2 años hace | 0

Resuelto


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

casi 2 años hace

Resuelto


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

casi 2 años hace

Resuelto


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

casi 2 años hace

Resuelto


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

casi 2 años hace

Resuelto


Calculate supply voltage and total current
Three resistors are connected in series and each has a resistance in ohms. Resistor R2 has a voltage drop of ΔV2volts Find the ...

casi 2 años hace

Resuelto


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

casi 2 años hace

Resuelto


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

casi 2 años hace

Cargar más