Communication through MATLAB is always better than arguing.

Answered

How can I make this work, I don't know where i went wrong.

1 / (1 + cos(4*x)) %is not the same as 1 / 1 + cos(4*x) % likewise for last question

How can I make this work, I don't know where i went wrong.

1 / (1 + cos(4*x)) %is not the same as 1 / 1 + cos(4*x) % likewise for last question

10 giorni ago | 0

| accepted

Answered

can anyone help me to solve these error

function [y] = specvol(V) % change capital V to v

can anyone help me to solve these error

function [y] = specvol(V) % change capital V to v

10 giorni ago | 0

Answered

SIMPLE MATH ERROR CALCULATION

Click on the tag floating-point round((9.2^2 * 1e2) / 1e2, 3) % since you're using a hardware , not sure using a sym class woul...

SIMPLE MATH ERROR CALCULATION

Click on the tag floating-point round((9.2^2 * 1e2) / 1e2, 3) % since you're using a hardware , not sure using a sym class woul...

10 giorni ago | 0

Answered

convert data from two 3D arrays into three 2D arrays

https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval A = rand(2,...

convert data from two 3D arrays into three 2D arrays

https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval A = rand(2,...

10 giorni ago | 0

Answered

This is my attempt to generate and plot this signal .. which one of these is right? .. please help

A = 3; [B, C] = deal(4); u = @(t) t >= 3 + 0.5 * A; u1 = @(t) t >= 3 - 0.5 * A; u2 = @(t) t >= C + 0.5 * B; u3 = @(t) t >= ...

This is my attempt to generate and plot this signal .. which one of these is right? .. please help

A = 3; [B, C] = deal(4); u = @(t) t >= 3 + 0.5 * A; u1 = @(t) t >= 3 - 0.5 * A; u2 = @(t) t >= C + 0.5 * B; u3 = @(t) t >= ...

18 giorni ago | 1

| accepted

Answered

Saving a Matrix as an Image and then extracting same matrix from Image.

SMAG = im2double(b) %

Saving a Matrix as an Image and then extracting same matrix from Image.

SMAG = im2double(b) %

24 giorni ago | 0

| accepted

Answered

How to find the mean of 12 different 3-D arrays containing nan so that I can omitnan in the final calculations?

Use mean() with "Omitnan" flag help mean

How to find the mean of 12 different 3-D arrays containing nan so that I can omitnan in the final calculations?

Use mean() with "Omitnan" flag help mean

24 giorni ago | 0

| accepted

Answered

連続時間系のサンプリングと離散フーリエ変換

https://www.mathworks.com/help/matlab/ref/fft.html a good starting point

連続時間系のサンプリングと離散フーリエ変換

https://www.mathworks.com/help/matlab/ref/fft.html a good starting point

circa un mese ago | 0

Answered

theory parts from the documentation -usage

The volunteers here are there to contribute to questions related to coding. For legal questions you would be better off to conta...

theory parts from the documentation -usage

The volunteers here are there to contribute to questions related to coding. For legal questions you would be better off to conta...

circa un mese ago | 0

Question

Is there a way to viewmark as images?

Any possible way to extract viewmarks from Simulink as images?

circa 2 mesi ago | 1 answer | 0

Answered

Data Plotting in a Single Figure

U = setdiff(10 : 10: 100, 80 : 10 : 90); V = 1e2 : 50 : 450; X = sort(randi(400, size(U))); Y = sort(randi(98, size(U))) .*...

Data Plotting in a Single Figure

U = setdiff(10 : 10: 100, 80 : 10 : 90); V = 1e2 : 50 : 450; X = sort(randi(400, size(U))); Y = sort(randi(98, size(U))) .*...

2 mesi ago | 0

| accepted

Answered

how to sum a result with multiple values

You literally answered your own question, just use sum() help sum

how to sum a result with multiple values

You literally answered your own question, just use sum() help sum

2 mesi ago | 1

| accepted

Answered

Save a double array to a text file

https://www.mathworks.com/matlabcentral/answers/4175-how-to-save-a-matrix-as-text-file#answer_5892

Save a double array to a text file

https://www.mathworks.com/matlabcentral/answers/4175-how-to-save-a-matrix-as-text-file#answer_5892

3 mesi ago | 0

Answered

Can't solve for x with (a = y/x)

syms y a x eqn = a == y/x; s = solve(eqn, x)

Can't solve for x with (a = y/x)

syms y a x eqn = a == y/x; s = solve(eqn, x)

3 mesi ago | 0

Answered

removing rows from a timetable

load combined_observed_vs_sim_timetable combined_data(1 : 12, :) = [ ]

removing rows from a timetable

load combined_observed_vs_sim_timetable combined_data(1 : 12, :) = [ ]

3 mesi ago | 0

Answered

Array indices must be positive integers or logical values.

ii = 0.01:0.02:0.99; w1_temp= ii; w2_temp= 1-ii; Rp_temp= w1_temp*mean(R_2(:,1))+w2_temp*mean(R_2(:,2)); ...

Array indices must be positive integers or logical values.

ii = 0.01:0.02:0.99; w1_temp= ii; w2_temp= 1-ii; Rp_temp= w1_temp*mean(R_2(:,1))+w2_temp*mean(R_2(:,2)); ...

3 mesi ago | 0

Answered

Why does contains(var1, var2) find matches in two different string arrays?

ch_names = {'FP1','FPz','FP2','AF7','AF3','AF4','AF8','F7','F5','F3',... 'F1','Fz','F2','F4','F6','F8','FT7','FC5','FC1...

Why does contains(var1, var2) find matches in two different string arrays?

ch_names = {'FP1','FPz','FP2','AF7','AF3','AF4','AF8','F7','F5','F3',... 'F1','Fz','F2','F4','F6','F8','FT7','FC5','FC1...

4 mesi ago | 0

| accepted

Answered

Save variable of workspace in another folder

save('C:\Users\Desktop\folder\POWER.mat', 'POWER')

Save variable of workspace in another folder

save('C:\Users\Desktop\folder\POWER.mat', 'POWER')

4 mesi ago | 2

| accepted

Answered

How do I save filenames in a for loop for later access?

C = cell(nnz(~fn(k).isdir), 1); % before loop function C = filnamn(katalog) % displays the names of all files in given diretor...

How do I save filenames in a for loop for later access?

C = cell(nnz(~fn(k).isdir), 1); % before loop function C = filnamn(katalog) % displays the names of all files in given diretor...

4 mesi ago | 0

| accepted

Answered

Why do I get the error "Unrecognized function or variable" with this

I don't know why you deleted your question and changed your name. 1) Why do you name a variable as the same name of a FUNCTION....

Why do I get the error "Unrecognized function or variable" with this

I don't know why you deleted your question and changed your name. 1) Why do you name a variable as the same name of a FUNCTION....

4 mesi ago | 0

| accepted