Community Profile

photo

Sara Boznik


Last seen: 26日 前
29 2020 年以降の合計貢献数

Sara Boznik's バッジ

  • Knowledgeable Level 2
  • Revival Level 1
  • Thankful Level 1
  • First Answer

詳細を表示...

貢献した分野
表示方法

質問


How to solve this equation?
Hi everyone, I want to solve this equation in Matlab. Until now I have the following code: a=18 b=60 c=76.7 syms x solx=...

約2ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
How to replace a column vector in matrix
A = [1 -4 1;4 -1 2;2 2 -3] B = [6;-1;-20] B=B' A(1,:)=B'

約2ヶ月 前 | 0

| 採用済み

回答済み
How to plot (1) amplitude vs time and (2) amplitude vs frequency plots from .wav file
figure(1) subplot(2,1,1) plot(t,y); title('Horn C5'); xlabel('Time (s)'); ylabel('Amplitude'); % Amplitude vs Time plot subp...

約2ヶ月 前 | 0

質問


Data with different length of rows
Hi I have following question. I have data like this: 1 2 3 4 5 6 7 8 9 1 2 3 4 1 2 I want to calculate average of each row....

約2ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Adding cell array entries
for i=1:24 sol=sum((CC(:,i))) end

約2ヶ月 前 | 0

回答済み
Evaluating 2D function on 2D grid without using "for" loops
f = @(x,y) x.^2+y.^2; x = 1:10; y = 1:5; [X,Y] = meshgrid(x,y); meshc(X, Y, f(X,Y)) grid on You can try that. Best of luc...

約2ヶ月 前 | 0

回答済み
Three-digit format
Hi I suggest you that you use: fprintf('%.3g',1.111111)

約2ヶ月 前 | 0

回答済み
MATLAB homework help request
It was told to me that I should not give the whole homework answers. But I can give you advises: if for loop (also formula ex...

2ヶ月 前 | 0

回答済み
How to find value of X when Y reaches maximum value
https://www.mathworks.com/help/symbolic/examples/maxima-minima-and-inflection-points.html read about this

2ヶ月 前 | 0

回答済み
How to select matrix column from minimum row value
distance_to_point = [2, 3, 4, 5; 6.8, 2.9, 6.1, 6.7] minima=min(distance_to_point(2,:)) [m,n]=find(distance_to_point==minima) ...

2ヶ月 前 | 0

回答済み
negative continuous position on vector
AA=[0 0 1 0 0 0 0] ne=-1; po=1; [n,m]=size(AA) b=find(AA(1,:)==1) BB=zeros(n,m) for i=1:b-1 BB(1,i)=ne ne=ne-1 ...

2ヶ月 前 | 1

回答済み
Layered Composite Calculations - how to perform a loop to calculate the moment for each layer of a composite when the equation changes as each layer is added in?
If you have M(r): k=2*r-1; part=0; mom=0; for i=1:r part=-siggy(i)*(k/2)*h0^2 k=k-2; mom=mom+part end

2ヶ月 前 | 0

| 採用済み

回答済み
Indexing in a vector
r=triu(r); r; w=min(r(r>0)); b=max(r(:)); [m,n]=find(r==w); fprintf(id,'Minimum %.4f.\n',w); for i=1:length(m) fprint...

2ヶ月 前 | 0

回答済み
Creating a plot with 2 x -axis
Read about plotyy.

2ヶ月 前 | 0

回答済み
Matrix Determination Issue in getting hidden inputs
function matr() if [n,n]==size(A) & [m,m]=size(B) & n==m C=zeros(n,n); D=zeros(m,m); C=A; D=B; E=C.*D; Reversed_Matrix=fl...

2ヶ月 前 | 1

| 採用済み

回答済み
What does mean .* and ' ?
.* means matrix product, if you don't write . will Matlab product the numbers on the same position. ' you use it usually when y...

2ヶ月 前 | 0

回答済み
Matrix Determination Issue in getting hidden inputs
Script: % n=input(""); that part is actually no needed % m=input(""); A=input('A'); B=input('B'); matr(A,B) Function: fun...

2ヶ月 前 | 0

回答済み
Matrix Determination Issue in getting hidden inputs
In function you write: function Determinant = matr (A,B) Reversed_Matrix=flip(A.*B); Determinant=det(Reversed_Matrix); end ...

2ヶ月 前 | 0

回答済み
why am I getting a different plot using fsurf and surf for the same function?
It is possible that you forgot .* Good luck.

2ヶ月 前 | 0

回答済み
How to avoid effect of number of extra zeros after decimal point on the equality between two arrays?
Hi, I also tried like you and also got wrong result. Later I checked for y1(201) where the ans=0 and I got correct result. I...

2ヶ月 前 | 0

回答済み
how to generate chromosome?
Is maybe this what are you looking for? chromo=40; gene=20; for i=1:1:chromo for j=1:1:gene pop=randi([0,1]); ...

2ヶ月 前 | 1

| 採用済み

回答済み
Can anyone help this graph matlab code please?
Hi, is maybe this code what are you looking for? x=-3:0.01:3; y=NaN(size(x)); L=x<=-2; y(L)=0; L=x>-2 & x<0; y(L)=x(L)+2;...

2ヶ月 前 | 1

回答済み
How to add a second Y axis to a bar chart?
Hi! I recomend you that you use plotyy. Below you have an example. [ax,h1,h2] = plotyy(f,[a',b',d',U'],f,I); set(ax(1),'...

2ヶ月 前 | 0

質問


Plot for different conditions of function
Hi everyone, i have the task that I have to make plot for different conditions y(x) for different value x. The following co...

2ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
How do I save my work
Hi! Save the code and after you run it you have the work. Other option is that you do files with answers if you need it. fl=(...

2ヶ月 前 | 0

回答済み
Sidewind or disturbance for automotive
Hi, welcome to Matlab. Maybe this will somehow help you: https://www.mathworks.com/matlabcentral/fileexchange/69001-simulati...

2ヶ月 前 | 0

回答済み
How to call multiple subplots in one code?
Maybe you should try different if scenario==1 figure(1) subplot (1,2,1) plot(temp,'k:') figure(2) subplot(1,2,1) plot(w...

2ヶ月 前 | 0

| 採用済み