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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 1

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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')

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

Gelöst


Equal to their cube
Tell me three real numbers that are equal to their cubes?

mehr als 7 Jahre vor

Gelöst


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)

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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.

mehr als 7 Jahre vor

Gelöst


Remove the Zero
Given an array n, remove all zeros

mehr als 7 Jahre vor

Gelöst


y equals x divided by 2
function y = x/2

mehr als 7 Jahre vor

Gelöst


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

mehr als 7 Jahre vor

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

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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); ...

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

Beantwortet
solving variable in exponential equation
syms t a = 600; r = .10; y = 600; eq = y - a * (exp(r*t)) == 0; tsol = solve(eq,t)

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
solve trigonometrical equations with input range
Hi, fsolve solves nonlinear systems. sind and cosd accept degrees as input arguments. Define your system like shown in the exam...

mehr als 7 Jahre vor | 2

| akzeptiert

Mehr laden