Respondida
How to check if the symbolic function yields real value?
Hi, i suggest to have a look at the isequal function. This appears to be what you want to do. Best regards Stephan

más de 7 años hace | 0

| aceptada

Respondida
Draw candlestick chart by reading the data in excel file.
Hi, you can use the following code: Data = readtable('DAT_MT_EURAUD_M1_2018.csv'); Data = mergevars(Data,[1 2]); Data.Var1 =...

más de 7 años hace | 0

| aceptada

Respondida
Solution of Non linear Equation
Hi, you convert symbolic solutions to double data type. This increases calculation speed, but costs accuracy. Try: % NonLinea...

más de 7 años hace | 0

| aceptada

Respondida
how to solve system of nonlinear equation
Hi, vpasolve finds 3 solutions: syms Ns0 Nt0 k_rs = 3.2e7; k_ISC = 3.1e7; k_RISC = 5.6e3; k_ST = 2e-10; k_TT = 5e-15; ...

más de 7 años hace | 0

| aceptada

Respondida
Represent parameters as other parameters
Hi, you can use isolate function: syms t1 t2 d3 h1 h2 x y z eq1 = -cos(t1)*(h2 - d3*cos(t2)) == x; eq2 = h1 + d3*sin(t2) == ...

más de 7 años hace | 0

Respondida
Im trying to plot an isotherm using the rosenthal equations, but when I run this script I get an 'Index exceeds array bounds' error.
Hi, you have 2 similar errors in your code. Matlab interprets: R(T-T0) as the (T-T0)'th element of an array called R. I suspe...

más de 7 años hace | 0

Respondida
6 set of equations, 6 unknowns, empty matrix error.
Hi which release do you use? The following code sets the 6 equations == 0 and produces a result on R2018b: MAx = -0.2376; MAy...

más de 7 años hace | 1

| aceptada

Respondida
How to make a for loop to select x number of column in a table. (WITHOUT having the same number multiple time)
Hi, are you sure about having all possible combinations of 5 from 48? There are 1.712.304 possible combinations. You will find ...

más de 7 años hace | 0

| aceptada

Respondida
use for loop to write a sum function to achieve halfsum
Hi, note the triu function: A = [1 2 3; 4 5 6; 7 8 9] result = sum(triu(A),'all') Best regards Stephan

más de 7 años hace | 0

| aceptada

Respondida
Example from webinar: Quadcopter Modelling and Simulation: A Case Study for Encouraging Deeper Learning Engagements with Students by Bradley Horton
Hi, the link you provided is working for me: https://de.mathworks.com/videos/quadcopter-modelling-and-simulation-a-case-study-...

más de 7 años hace | 0

Resuelto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

más de 7 años hace

Resuelto


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

más de 7 años hace

Resuelto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

más de 7 años hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

más de 7 años hace

Resuelto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

más de 7 años hace

Resuelto


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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]

más de 7 años hace

Resuelto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

más de 7 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

más de 7 años hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

más de 7 años hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

más de 7 años hace

Respondida
Matlab base licence Tools
Hi, all these are seperate toolboxes that have to be aquired seperatly to use their functions. The version numbers always depen...

más de 7 años hace | 0

Respondida
Solve a numerical equation
Hi, use another x0: myfunc = @(x) ((1/6)*abs(sin(x*6/2)/sin(x/2)))-1/sqrt(2); x0 = 1; fzero(myfunc,x0); This will make it w...

más de 7 años hace | 0

| aceptada

Respondida
Unable to use function in script
Hi, you define an array as input arguments. Matlab interprets your array as one input argument, not as 8 as you think. This is ...

más de 7 años hace | 1

| aceptada

Respondida
Solving Differential Equations Symbolically and Numerically
Hi, why do you have the 2.derivative in your code? I do only find the first derivative in your attached equation. Also i think ...

más de 7 años hace | 0

| aceptada

Respondida
Undefined Function or Variable 'confusionchart'
Hi, confusionchart was introduced in R2018b. Since you are using R2018a it is not available. Update to R2018b to use it. To av...

más de 7 años hace | 2

| aceptada

Respondida
Generating random variables with decimal points
10*rand(25,1)+20

más de 7 años hace | 0

Respondida
Release note of the update?
Hi, not a release note, but a little list of Bug Fixes in Update 2. I hope this helps. Best regards Stephan

más de 7 años hace | 0

| aceptada

Respondida
Predictor Importance for Bagged Trees in Classification Learner App??
Hi, "I have sucessfully used BaggedTrees in the classificationLearner app to classify my data..." 1. Make sure to have exporte...

más de 7 años hace | 1

| aceptada

Cargar más