photo

Bish Erbas


Actif depuis 2018

Followers: 0   Following: 0

Message

Statistiques

  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
lowpass (version 9.2.0.556344)
Perhaps MATLAB's default search path has been removed or modified? If you are willing to restore the search path to factory-inst...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
I keep getting this error : Matrix dimensions must agree. Error in comp (line 5) c(x)=0.5.*erfc(x./(2*sqrt(u.*t)));
|x| and |t| vectors must have same dimensions since you are performing an element-by-element multiplication. In your code, |x = ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
what is the problem with my function ?
Formatting. function [area, cr] = circle(r) area = pi*(r^2); cr = pi*r*2; end

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Finding specific values in an array
Use |xlsread| to import Excel data into a numeric data in a matrix. Once your data is available in MATLAB Workspace, you can the...

presque 6 ans il y a | 0

Réponse apportée
when i run this code i'm getting and error stating "matrix dimensions must agree",how can i solve this error?
Add transpose to first line: frame=y(2001:2001+fsize)'; Element-by-element multiplication works only if both vectors are...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Change empty string to "NaS" when reading from a file
You can import all data as into a string cell array |A| and then perform all required conversions. f = fopen('file.txt'); ...

presque 6 ans il y a | 0

Réponse apportée
How can I rearrange an equation with only one variable?
Something like this? syms x eqn = (x^3+2*x^2+3*x-2 == 0); pretty(isolate(eqn,3*x)/3)

presque 6 ans il y a | 0

Réponse apportée
PCA on square matrix
x=rand(4); c1=pca(x,'algorithm','eig','economy',false) d1=pcacov(cov(x)) If you use the |eig| algorithm and set |econ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
append non-compression data to matfile problem
Try this: test=1; save('test','test','-v7.3'); T=rand(1e6,1); save('test.mat','T','-append','-nocompression') |...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Find indices of points in meshgrid-like data
How about this? A = [2 3; 3 4; 1 1]; [X,Y] = meshgrid(1:5, 1:5); XIdxCell = arrayfun(@(x) find(X==x),A(:,1),'UniformO...

presque 6 ans il y a | 0

Réponse apportée
Find zero crossings in multidimensional matrix
Code below finds all zero elements of the example |2x2x5| matrix. B = repmat([0 1],[2 2 5]); B(B==0)

presque 6 ans il y a | 0

Réponse apportée
How do I fix this error? If I put x/number it works.
figure; X = 200:250:2500; Y = 1.82*10^14*exp(-38370./X); plot(X,Y) When you want to multiply or divide every element of a v...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
auto generating test cases with simulink testing toolbox
Yes. See links below for details: <https://www.mathworks.com/help/sltest/ug/generate-test-cases-from-model-components.html> ...

presque 6 ans il y a | 0

Réponse apportée
Textscan MULTIPLE DELIM ARRAY and rearrange
Just rename |untitled.txt|. Is this something you were looking for? % [ [ 1,2,3,4],[1,2,3,4],[1,2,3,4] ] f = fopen('un...

presque 6 ans il y a | 0

Réponse apportée
MATLAB graph editing in the figure window
Try this (I am leaving some details for you to discover like text on graph and axes labels): % Definition x = 0:0.1:10; ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Subs function not working as expected
Code below works for me. You defined the |H| and |y| variables after defining the symbolic equations. Move the variable definiti...

presque 6 ans il y a | 0

Réponse apportée
How do I search a directory for an already existing file name and if it is present, save a new file name the same as the old one but with an iteration number at the end of it?
curDir = pwd; files = dir(curDir); files = files(~ismember({files.name},{'.','..'})); fileToSearch = 'processed_resul...

presque 6 ans il y a | 0

Réponse apportée
print array in an excel file and in two separate columns
Try: xlswrite('test.xlsx',n)

presque 6 ans il y a | 0

Réponse apportée
varphi Matlab / Latex character
Try legend({'$\varphi$'},'Interpreter','latex');

presque 6 ans il y a | 3

| A accepté

Réponse apportée
How do I colour a filled-in area with a color value different from the standard 'r','g','b' etc... ?
Have you tried: f1=fill(tt2,inBetweenWd,[0.5 1 0],'FaceAlpha',0.4);

presque 6 ans il y a | 0

Réponse apportée
string that may or may not need to be converted to num...
Yes. Take a look at the function below: str2num <https://www.mathworks.com/help/matlab/ref/str2num.html> *Edit:* OP c...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
find the first column of a 3x3 matrix
A = rand(3,3); x = A(:,1);

presque 6 ans il y a | 3

| A accepté

Réponse apportée
How to solve this only using looping
One way of accomplishing this would be: A = [1 2 3 4 8 9]; B = [1 2 3 4 5 6 7]; for k = 1:numel(A) B(B==A(...

presque 6 ans il y a | 0

Réponse apportée
how I can code this vector x=[1; 1/2;1/3; ......;1/(n-1)] n=15 ?
Try: n = 15; x = 1./(1:n-1);

presque 6 ans il y a | 3

| A accepté