回答済み
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

約7年 前 | 0

| 採用済み

回答済み
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 =...

約7年 前 | 0

| 採用済み

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

約7年 前 | 0

| 採用済み

回答済み
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; ...

約7年 前 | 0

| 採用済み

回答済み
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) == ...

約7年 前 | 0

回答済み
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...

約7年 前 | 0

回答済み
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...

約7年 前 | 1

| 採用済み

回答済み
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 ...

約7年 前 | 0

| 採用済み

回答済み
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

約7年 前 | 0

| 採用済み

回答済み
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-...

7年以上 前 | 0

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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.

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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]

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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

7年以上 前

解決済み


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.

7年以上 前

回答済み
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...

7年以上 前 | 0

回答済み
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...

7年以上 前 | 0

| 採用済み

回答済み
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 ...

7年以上 前 | 1

| 採用済み

回答済み
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 ...

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 2

| 採用済み

回答済み
Generating random variables with decimal points
10*rand(25,1)+20

7年以上 前 | 0

回答済み
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

7年以上 前 | 0

| 採用済み

回答済み
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...

7年以上 前 | 1

| 採用済み

さらに読み込む