# VBBV

### PEC

Last seen: Today Con actividad desde 2017

Followers: 1   Following: 2

MATLAB enthusiast , Mechanical engineer (MeMe) :-)

All

Ver insignias

#### Feeds

Ver por

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

alrededor de 16 horas 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...

alrededor de 20 horas 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...

alrededor de 21 horas 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 ...

1 día 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 ...

1 día 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...

1 día 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...

3 días 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 |...

7 días hace

Resuelto

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

7 días 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)

7 días hace

Resuelto

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

7 días 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 ...

7 días 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';

7 días 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...

8 días hace

Resuelto

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

8 días hace

Resuelto

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

8 días hace

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

8 días hace | 0

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

8 días hace | 0

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

17 días hace | 0

Respondida
I am getting the following error when I run my script: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatc
h = h + (1/6) * (k1 + 2*k2 + 2*k3 + k4); % <> multplication operator is missing here

18 días hace | 0

Resuelto

3D Plots and Colorbars
Use the matrices X, Y, and Z provided in the function template to create a surface plot. Add a colorbar to the surface plot and ...

19 días hace

Resuelto

Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

19 días hace

Respondida
Why are G1 and G2 outputs different?
The order of mathematical operations in evaluating G1 and G2 are different. In case of G1 , individual terms are evaluated first...

20 días hace | 0

Resuelto

Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

20 días hace

Resuelto

Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

21 días hace

Respondida
Index exceeds number of array elements. Index must not exceed 8. HELP
Q = [beta alpha lambda vac d gamma c m]; The size of the vector is 1x8

23 días hace | 0

Respondida
Extract certain values in .mat file
data= [-0.13793 -0.114746 -0.204773 -0.224304 -0.181274 -0.192566 -0.159912 -0.174866 -0.134888 -0.148926] data(2:2:end) dat...

24 días hace | 0

Resuelto

Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...

24 días hace

Respondida
Function definitions are not permitted in this context.
Rename the file *ok.m* to *uniform_pcm.m* and save file. Type the name of function from command window (giving input arguments)...

25 días hace | 0