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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 1

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

Resuelto


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

más de 7 años hace

Resuelto


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)

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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.

más de 7 años hace

Resuelto


Remove the Zero
Given an array n, remove all zeros

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

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

más de 7 años hace | 1

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 2

| aceptada

Cargar más