Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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.

1 year ago

Solved


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

1 year ago

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

Solved


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

1 year ago

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

1 year ago | 0

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

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

1 year ago | 0

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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.

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


Compute Fibonacci Number
Compute the n-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

1 year ago

Solved


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-Dig...

1 year ago

Answered
Error with my CODE and I don't know why.
@Raphael Marcelo You can modify the following lines in your code. i.e. set the uieditfield property to numeric instead of text...

1 year ago | 0

Answered
Arrowhead is turning the wrong way
Hi @Rasmus Bruun, In this line, you are trying to reverse the direction of X-axis (for unknown reason), If you comment the bel...

1 year ago | 0

Answered
Error in Error in odearguments (line 92) f0 = ode(t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ode45 (line 104) odearguments(odeIsFuncHandle,odeTreatAsMFile,
@Juan you have probably tried using the arguments to the ode45 function as below, Try using the same syntax as it was provided ...

1 year ago | 0

Load more