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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

Inviato


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

quasi 5 anni fa | 6 download |

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

quasi 5 anni fa | 0

Risposto
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(...

quasi 5 anni fa | 0

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 0

| accettato

Risposto
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!

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

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

quasi 5 anni fa | 0

| accettato

Risposto
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); % ...

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

| accettato

Risposto
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)), ... ...

quasi 5 anni fa | 1

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

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

quasi 5 anni fa | 1

| accettato

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

quasi 5 anni fa | 0

| accettato

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

quasi 5 anni fa | 0

Carica altro