Community Profile

photo

Matthew Worker


Last seen: 3 jours il y a Actif depuis 2013

Statistiques

  • First Review

Afficher les badges

Content Feed

Afficher par

Question


Create multiple copies of a .txt file according to N x 1 array
I have an N by 1 array that contains random integer values, say A = [101, 790, 477, ... , 999]. I also have a text file, say MyF...

6 mois il y a | 1 réponse | 0

1

réponse

Question


Solve a group of Symbolic Equations
syms A B alpha beta % variable syms R1 R2 C1 C2 % constant eqn1 = A + B == 1/(R1*C1) eqn2 = -A...

environ un an il y a | 2 réponses | 0

2

réponses

Question


How to present (x(t))'', (θ(t))'' in symbolic version matlab?
There are six equations below (M, m, g, b, L, J are constant): M*(x(t))'' = F(t) - N(t) - b*(x(t))' J*(θ(t))'' = P(t)*sin(θ(t)...

environ un an il y a | 1 réponse | 0

1

réponse

Question


how do I filter noise and background objects from images?
i have images that have these cylindrical objects that i want removed before doing analysis? How do I remove them? Thank you

environ un an il y a | 3 réponses | 0

3

réponses

Question


Optimization: Unable to perform assignment because value of type 'optim.problemdef.OptimizationExpression' is not convertible to 'double'.
Hello, I would like to perform a multiplication with a decision variable Yi. When doing so, I get the following error: Unabl...

environ un an il y a | 2 réponses | 0

2

réponses

Question


Why I'm I getting this error when I try to call the function myfourier in another m file?
myfourier.m file function [a0 an bn fs] = myfourier(f, flim, N) syms t syms N T = flim(end)-flim(1); w0 = 2*pi/T; fs = 0.0...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Iterative code sequence error
f(i) = f(i-3)*f(i-1) - f(i-2) using f(1) = 1, f(2) = 1 and f(3) = 1. function f = iterativeSequence(n) f(1) = 1; f(2) =...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How to add max and min data label of plot in matlab with help of annotation?
I want label max and min data label with use of annotation on gh bottom,middle and top plot to show the values of max and min. ...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Fit and display multiple gaussians on a data set
I have a test data set (attached) that I want to display with two closely spaced gaussians. An example of how the data should lo...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to publish current m file output ONLY to pdf via inline code? (AKA, not via the Export function)
Hi, I am creating a MATLAB program that will read in a data file and provide feedback based on the data within the file. (I am ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do i read 60 .txt files into matlab?
I am trying to read experimental data in .txt format into matlab but so far, i get the following error message: Index in p...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to randomly propagate 100 random targets with random headings (uniformly sampled over [0, 2π])
So I contructed a 2048x1024 pixel background image with the signal normally distribution at mean 0 and standard deviation 5 (arb...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


put two matrices in one matrix, one will take the odd column and the other one take the even column.
A is a matrix 4x5 B is a matrix 4x5 C=[A B] 4x10 .. A and B will be combined in a matrix C where A take the odd column and B ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


The left and right sides have a different number of elements
please help me fix the error~~~ this is my code and %% 3. Fourier descriptor %① Make the matrix above. %Find the positio...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do you write this "| "symbol in MATLAB?
How i would write that symbol in MATLAB? i left it out and even tried'/' but i keep getting warnings within the script ...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Remove the repetitive items in matrix
The following codes are some basic settings, you can skip this section and directly see the problem section below. clear clc ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Image segmentation but 'edge' does not work
i need this result, to outline it in red but i keep getting this error message. Error using activecontour>parse_inputs (lin...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


I want BER instead of SNR in the x-axis .. What is the relation that changes SNR to BER
This is the value of Signal to noise ratio ..... SNR = -20:6:10; %Signal to Noise Ratio I want BER instead of SNR in the x-ax...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Looking for a simulink cogeneration (combine Heating and power) model.
Looking for a simulink cogeneration (combine Heating and power) model. please

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why does my screen go black?
My region filled image and skeletonized image just appears black I fill in all the bones using the function below %% 3. Region...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why does dilate and erode images produce black images?
Did i do something wrong with nhood variable? %% 1. Dilation and Erosion %a. Apply dilation and erosion to “lung.jpg” using 3x...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


What is '1butter' in this Wiener Filter code?
MATLAB doesnt recognise the 1butter in this code of Wiener Filtering on an image in MATLAB

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to turn code into a class?
I coded the program below for frequency domain filtering and functions well. I have to use it repeatedly to apply different fi...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Frequency Domain Filtering by Convolution Theorem
So the program works but i get warning messages, i attached the imag as well %% 4. Perform frequency domain filtering by Convol...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

A répondu
why is my difference image black?...
https://www.mathworks.com/matlabcentral/answers/1467816-why-is-my-difference-image-black#comment_1770511

plus de 2 ans il y a | 0

| A accepté

Question


why is my difference image black?...
the program works but my difference image is just black...did i do something wrong? or is there a way to make it visible? %% ...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Why do I keep getting a black image when i dont use []?
What is the difference between using [] with imshow and dividing an image by a scalar before using imshow fxn? Is my code wrong...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Charger plus