Respondida
Compare the rows of an array with another one's array
Lia = ismember(A,B,'rows')

más de 4 años hace | 0

| aceptada

Respondida
Values generated by the loop Seem Wrong
I believe you are mistakenly updating VFull in each iteration. h1 = 14.05; %h1 should be replaced with h1New after...

más de 4 años hace | 0

| aceptada

Respondida
Attempting to Plot Multiple Answers from a Loop
I believe you missed to track the V inside your loops. Also, please lookup the documentation for plot() for a better manipulatio...

más de 4 años hace | 0

Respondida
Iterate to filter signal in a parfor
The error is caused by the way global digital filter objects are handled by filter() in parfor loop. function [outputData] = lo...

más de 4 años hace | 0

Enviada


Gauss-Jordan-Reduction or Reduced-Row-Echelon
Matrix Operation - Reduced Row Echelon Form aka Gauss Jordan Elimination Form

más de 4 años hace | 2 descargas |

Respondida
How can I create one vector x to have this function correct? x has to be the column vector k- 'th of A, from its diagonal to the end
k has size nr x (nc-1). you are trying to assign x = k(2:nr,nc) which means the nc-th column of k. but k doesn't have nc-th colu...

más de 4 años hace | 0

Respondida
Marking a specific point on a PDF graph
gradeIn = str2num(answer{2}); [p,x] = hist(retrieved_class); p = p/sum(p); figure;plot(x,p) hold on; plot(x(x==gradeIn),p(...

más de 4 años hace | 0

Respondida
Fourier Graphs of my lowpass and high pass filtered signals are looking weird
Last update: Running your Lowpass code: %LPF 30Hz y_LPF_30 = lowpass(y,30,Fs); yf_LPF_30 = fft(y_LPF_30); % 30Hz %set up ...

más de 4 años hace | 1

| aceptada

Respondida
How to iterate over parfor
I am not sure how much this would help, as I couldn't reproduce your error. Please let me know how it goes. input_signal = zero...

más de 4 años hace | 0

| aceptada

Respondida
How can I make my high pass filter more accurate?
If my cutoff frequency is 270 Hz, why do I get still frequencies below 270? Unless it's an ideal highpass filter, most filter i...

más de 4 años hace | 0

| aceptada

Respondida
Creating a variable number of prompts.
prompt = {'Enter Your Name.', 'Number of Tests Taken. '}; dlgtitle = 'Name & Tests Taken'; dims = [1 50]; definput = {'Name...

más de 4 años hace | 0

| aceptada

Respondida
Problem in fitting a curve
The problem is in your choise of equation. y is always calculated as zero. I think its because of the exponential component: e...

más de 4 años hace | 0

Respondida
Please help with revised question
https://www.mathworks.com/matlabcentral/fileexchange/73567-gaussjordanreduction

más de 4 años hace | 0

| aceptada

Respondida
Can I run a matlab file with symbolic functions from the command line?
syms x_1; syms x_2; syms x_3; syms x_4; syms x_5; syms x_6; Hope this helps!

más de 4 años hace | 0

| aceptada

Respondida
How to create 2D sub arrays by sampling every n by n points
B = reshape(A,35,35,[]);

más de 4 años hace | 1

Respondida
how to perform two dimensional deconvolution in matlab?
deconv() is defined only for vectors, not for matrices. this might be helpful for matrices and images: https://stackoverflow.c...

más de 4 años hace | 0

| aceptada

Respondida
Need help solving first order DiffyQ analytically with matrix
If I understood it right, your x and y are supposed to be 2x1 vectors. gamma=0.5; H=[(gamma*i) -1;-1 -i*gamma]; % G=(2:2); % ...

más de 4 años hace | 0

| aceptada

Respondida
Image labeler Train cascade error!
Could the error be that I'm using pixel label instead of line or rectangle label? Yes, sorry! Update: [imds,pxds] = pixelLab...

más de 4 años hace | 1

| aceptada

Respondida
Can you check my error code?
x = linspace (-2,4,101); span = [0 1 2]; for i = -1: 2 h1 = plot (x (x> (span (1) + i * 2) & x <(span (2) + i * 2)), ... ...

más de 4 años hace | 1

Respondida
Gauss-Jordan Elimination
I didn't use the (sub-)functions, but tried to sketch out the algorithm following your logic in this file: https://www.mathwork...

más de 4 años hace | 0

| aceptada

Respondida
How to solve an equation with an array of constant parameters?
syms x e >> eqns = x*log2(x)==e eqns = (x*log(x))/log(2) == e >> S= solve(eqns,x) S = (e*log(2))/lambertw(0...

más de 4 años hace | 1

| aceptada

Respondida
Giving error in confusion plot
ConfusionMat2 = confusionchart(table2array(Y),isLabels2);

más de 4 años hace | 0

| aceptada

Respondida
Error using plot, vectors must be the same lengths?
Plot() doesn't allow the syntax plot(y1,y2,y3). https://www.mathworks.com/help/matlab/ref/plot.html If t, y, dfx, and ddfx are ...

más de 4 años hace | 1

| aceptada

Respondida
Keep Getting This Error when plotting historgram and plot
Use yyaxis left before plotting the histogram. If you can share the data and the parameter values, I could try to debug.

más de 4 años hace | 0

| aceptada

Respondida
Storing for loop output that is a matrix 1 x 6387 each iteration in one matrix
I am assuming that you meant your xx2 has size 1x6387, and you want xs to be of size 1x12774 after two iteration. n1 = 50; % Nu...

más de 4 años hace | 1

| aceptada

Respondida
90 degree phase shift
Updated answer: The problem is with the way "Outport" and "Configuration" blocks are used here. For example, change the Output ...

más de 4 años hace | 0

| aceptada

Respondida
Warning: Rank deficient, rank = 1, tol = 1.324612e-01.
x = A\B solves the system of linear equations A*x = B. The matrices A and B must have the same number of rows. MATLAB® displays ...

más de 4 años hace | 0

Respondida
the average of multiple Probability density functions
The idea of "average" is ill-defined for pdfs. In your case, all the 1000 distridutions are generalized paretos. Your theta is...

más de 4 años hace | 1

| aceptada

Respondida
for loop for monte carlo code
This code moves one particle (randomly picked from 5) to either left or right available space. If no space available, it remains...

más de 4 años hace | 0

| aceptada

Respondida
Help with loop script
If you can share x, I could test it properly. Otherwise, I think you just need 'hold on': xMatrix=reshape(x,L,TS/L); %Filterin...

más de 4 años hace | 0

Cargar más