647 total contributions since 2017

Knowledge means knowing where it is written...

Interested in:

- Optimization

- Mathematical Modelling

- Improvement of my programming skills

Answered

Receiving 'Dimensions of arrays being concatenated are not consistent.' error, but there are equal amounts of rows being input.

Hi, try: T = table(Mean, Std_Error, Deviation, Variance, Min, Max, Range, Confidence_95,'VariableNames',{'mean','sem','std','v...

Receiving 'Dimensions of arrays being concatenated are not consistent.' error, but there are equal amounts of rows being input.

Hi, try: T = table(Mean, Std_Error, Deviation, Variance, Min, Max, Range, Confidence_95,'VariableNames',{'mean','sem','std','v...

ongeveer 9 uur ago | 2

| accepted

Answered

Is there a way to extract the name of a field of a struct as string

Hi, the following gives a string array with the fieldnames of the struct: A.a123 = 1 A.bbb = 2 B = string(fieldnames(A)) pi...

Is there a way to extract the name of a field of a struct as string

Hi, the following gives a string array with the fieldnames of the struct: A.a123 = 1 A.bbb = 2 B = string(fieldnames(A)) pi...

ongeveer 10 uur ago | 0

Answered

Lab 04 - What to do

What to do? This is easy: Read the instructions, read the documentation site of Matlab, make an effort and try it on your own. ...

Lab 04 - What to do

What to do? This is easy: Read the instructions, read the documentation site of Matlab, make an effort and try it on your own. ...

3 dagen ago | 0

Answered

ga algorithm with vectors

Hi, check this example in the documentation: https://de.mathworks.com/help/gads/solving-a-mixed-integer-engineering-design-pro...

ga algorithm with vectors

Hi, check this example in the documentation: https://de.mathworks.com/help/gads/solving-a-mixed-integer-engineering-design-pro...

4 dagen ago | 0

| accepted

Answered

Signal Processing Feature Extraction in regards to Siren Detection

Hi, your question is nearly unanswerable. You ask very unspecific and we do not know what you already did. What kind of sirens ...

Signal Processing Feature Extraction in regards to Siren Detection

Hi, your question is nearly unanswerable. You ask very unspecific and we do not know what you already did. What kind of sirens ...

4 dagen ago | 0

Answered

I can not zero my transfer function

Hi, i assume you want to use zero instaed of zeros. The first is for control - the second creates an array of all zeros, which ...

I can not zero my transfer function

Hi, i assume you want to use zero instaed of zeros. The first is for control - the second creates an array of all zeros, which ...

4 dagen ago | 0

Answered

mean() is giving me an error, when when I use the test code Matlab suggests

Hi, if you work with R2018a you should use the documentation from R2018a instead of R2018b. Work through the correct documentat...

mean() is giving me an error, when when I use the test code Matlab suggests

Hi, if you work with R2018a you should use the documentation from R2018a instead of R2018b. Work through the correct documentat...

4 dagen ago | 1

| accepted

Answered

Multi Variable Non-linear Curve Fitting in MATLAB

Hi, i suggest to model this as a system of 4 equations with the 15 unknownse and use . 3 equations to calculate the tau(i) valu...

Multi Variable Non-linear Curve Fitting in MATLAB

Hi, i suggest to model this as a system of 4 equations with the 15 unknownse and use . 3 equations to calculate the tau(i) valu...

4 dagen ago | 0

Answered

how to plot the graph with the required data

Hi, as Madhan suggested you can use piecewise function. If you do not have access to Symbolic Math Toolbox (which is needed for...

how to plot the graph with the required data

Hi, as Madhan suggested you can use piecewise function. If you do not have access to Symbolic Math Toolbox (which is needed for...

5 dagen ago | 0

| accepted

Answered

How do I make a vector where the entries are months and years?

date = datestr(join([string(repelem(2006:2012,1,12)'),string(repmat(1:12,1,7)')],2),'mmm-yyyy')

How do I make a vector where the entries are months and years?

date = datestr(join([string(repelem(2006:2012,1,12)'),string(repmat(1:12,1,7)')],2),'mmm-yyyy')

5 dagen ago | 0

Answered

In need of decreasing exponential smooth curve

Your linspace call will lead to 10 results calculated in the interval of 0...1. If you leave the 10 away, the standard is 100 va...

In need of decreasing exponential smooth curve

Your linspace call will lead to 10 results calculated in the interval of 0...1. If you leave the 10 away, the standard is 100 va...

6 dagen ago | 0

| accepted

Answered

Why is the reported accuracy of the Classification learner app very low (51%), while in the scatter plots, no incorrect model predictions are reported?

Hi, the red area in the confusion matrix tells us, that there were 4433 times when the predicted class was 1 and the true clas...

Why is the reported accuracy of the Classification learner app very low (51%), while in the scatter plots, no incorrect model predictions are reported?

Hi, the red area in the confusion matrix tells us, that there were 4433 times when the predicted class was 1 and the true clas...

7 dagen ago | 0

Answered

Type 1 Cosine Transform

Hi, the option 'Type' was introduced in R2017a - see the release notes for Signal Processing Toolbox. To avoid this kind of is...

Type 1 Cosine Transform

Hi, the option 'Type' was introduced in R2017a - see the release notes for Signal Processing Toolbox. To avoid this kind of is...

8 dagen ago | 0

Answered

How can I go about calling another function and estimating a solution?

Your new script: A = [3, 123456789, 8, 5; 2, 13,...]; b = [246913625, ...]; [x, det] = single(nvgss(A,b)) Best regards Step...

How can I go about calling another function and estimating a solution?

Your new script: A = [3, 123456789, 8, 5; 2, 13,...]; b = [246913625, ...]; [x, det] = single(nvgss(A,b)) Best regards Step...

11 dagen ago | 0

| accepted

Solved

Solve the set of simultaneous linear equations

Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

12 dagen ago

Solved

Add a row of zeros on top of a matrix

Given a matrix, insert a row of zeros as the top row.

12 dagen ago

Solved

Area of a Square

Inside a square is a circle with radius r. What is the area of the square?

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

12 dagen ago

Answered

matlab results grouped question

Hi, i assume you have the results in a form of: res1 = [0.3151; -0.3904] res2 = [0.3412; -0.3416] res3 = [0.3581; -0.2836] ...

matlab results grouped question

Hi, i assume you have the results in a form of: res1 = [0.3151; -0.3904] res2 = [0.3412; -0.3416] res3 = [0.3581; -0.2836] ...

12 dagen ago | 1

| accepted

Answered

convert my code ; Plot using ode function

Hi, try: solve_E function solve_E initial_E = 0; time_range = [0, 4.4]; % Constants beta=5; alfa = 2.*beta/(beta+1); ...

convert my code ; Plot using ode function

Hi, try: solve_E function solve_E initial_E = 0; time_range = [0, 4.4]; % Constants beta=5; alfa = 2.*beta/(beta+1); ...

12 dagen ago | 0

Answered

Surf dimensions do not agree. Help!

Hi, the reason for your problem is: SNRR: 1x3 MV_raw: 1x11 Median: 3x10 This does not work. Either change MV_raw to 1x10 o...

Surf dimensions do not agree. Help!

Hi, the reason for your problem is: SNRR: 1x3 MV_raw: 1x11 Median: 3x10 This does not work. Either change MV_raw to 1x10 o...

12 dagen ago | 0

Answered

solving variable in exponential equation

syms t a = 600; r = .10; y = 600; eq = y - a * (exp(r*t)) == 0; tsol = solve(eq,t)

solving variable in exponential equation

syms t a = 600; r = .10; y = 600; eq = y - a * (exp(r*t)) == 0; tsol = solve(eq,t)

12 dagen ago | 0

Answered

Sir, i tried to run my code but it showing error .how to fix the error.

Hi, hamming is a built in function. Do not name your scripts with names of built in functions, because your script shadows the ...

Sir, i tried to run my code but it showing error .how to fix the error.

Hi, hamming is a built in function. Do not name your scripts with names of built in functions, because your script shadows the ...

12 dagen ago | 0

| accepted

Answered

Calculating young's modulus from stress strain curve

Hi, since this is a linear problem the best and most elegant way to solve this is mldivide. This will solve your problem in a l...

Calculating young's modulus from stress strain curve

Hi, since this is a linear problem the best and most elegant way to solve this is mldivide. This will solve your problem in a l...

13 dagen ago | 0

| accepted

Answered

Replace missing values in a row with the set of all possible values in that row for a data table.

Hi, the following script should do what you want: % set options and import data opts = spreadsheetImportOptions("NumVariables...

Replace missing values in a row with the set of all possible values in that row for a data table.

Hi, the following script should do what you want: % set options and import data opts = spreadsheetImportOptions("NumVariables...

13 dagen ago | 0

| accepted

Answered

Solving set of time-dependent differential equations using ode45

Hi, try: % Defining constants Co = 0.16; H = 3.9; S = 380; cb = 0.6; ct = 0.6; ab = 4*1.095*0.25; at = 4*2.125*2.8; ab...

Solving set of time-dependent differential equations using ode45

Hi, try: % Defining constants Co = 0.16; H = 3.9; S = 380; cb = 0.6; ct = 0.6; ab = 4*1.095*0.25; at = 4*2.125*2.8; ab...

13 dagen ago | 0

| accepted