답변 있음
Plotting with dsolve for ODE
clear clc [x,y] = meshgrid(-5:0.4:5,-5:0.4:5); dydx = x.^2+y.^2-1; L = sqrt(1+dydx.^2); quiver(x,y,1./L,dydx./L,'k') hold...

9일 전 | 0

답변 있음
Hi COMM, How can I hold only one plot while updating the rest in a figure ? E.g. I want to keep (x,f) plot fixed , while keeping the current value for the animated plot
for k=1:length(x) plot(x(1:k),f(1:k),'or') axis([SSmin SSmax 0 30]) pause(2) end Check with this

9일 전 | 0

답변 있음
the for loop is only giving me the last value
North_20170401 = zeros(360,6); N_Y_K_20170401 = zeros(360,6); for i = 9 :15 : 359 %for j = 1:1:24 disp( Data_2...

10일 전 | 0

답변 있음
matlab 'colorbar' error
This syntax does not seem to be supported in Matlab axis('ij') See what you get if you change it to axis ij

10일 전 | 0

답변 있음
Error in using diff for derivative
t = f(a); while (true) if (gradient(t) ~= 0) b = a - t./gradient(t); if (abs(b-a) <= error) ...

10일 전 | 0

답변 있음
How ro divide a scalar by a excel data and plot the result?
X= 51./data(:,4); Use the element wise division operator

10일 전 | 0

| 수락됨

답변 있음
add new row to table with missing values
V.name = "Ann"; V.city = "Berlin"; V.age = 24; V.height = 172; T1 = struct2table(V); V2.name = "Luka"; V2.city = "Tokyo"...

11일 전 | 0

답변 있음
How do I extract a vector from a single field in a structured variable?
folder_names = struct('name',['MH';'TM';'JW']) participant_ID = folder_names.name Check with this

11일 전 | 0

답변 있음
How can ı solve invalid indexing or function
clc; clear all; syms nw W x Q(x) Y Qo ode1=diff(Q,x)== -nw*W*Y; cond1 = Q(0)== 0; cozum1(x)=dsolve(ode1,cond1); cozum1=s...

11일 전 | 0

답변 있음
Index exceeds the number of array elements. Index must not exceed 1.
z(i+1)=z(i)+(1/6*(k1_hiz(i)+2*k2_hiz(i)+2*k3_hiz(i)+k4_hiz(i))); v(i+1)=v(i)+(1/6*(k1_ivme(i)+2*k2_ivme(i)+2*k3_ivm...

11일 전 | 1

답변 있음
Couette flow between two plate
dpdx= -2:0.1:2; miu = 1; y = linspace(0,1,length(dpdx)) vv = 0.25*miu*dpdx.*y.^2 v = 0.5*miu*dpdx.*y plot(y,v,y,vv) lege...

13일 전 | 1

답변 있음
Control systems failing to plot
Check if you have defined _bode_ as variable in your program.

14일 전 | 0

답변 있음
Need a help to design a block.
If there is no standard block for flow rate in (Smmulink or Simscape)library, then you can define 2 variables as signals. One fo...

15일 전 | 0

| 수락됨

답변 있음
Matlab code - can anyone guide me how to sort this kind of error, I am new to MATLAB and trying to create an interface for a audio listening experiment
function varargout = TEST(varargin) % TEST MATLAB code for TEST.fig % TEST, by itself, creates a new TEST or raises the e...

15일 전 | 0

| 수락됨

답변 있음
How to plot subset of X-axis names on bar plot?
plotNamesD = plotNames(1:kId);% use the for loop index plotDataD = plotData(1:kId); bar(plotNamesD,plotDataD); hold ...

17일 전 | 0

| 수락됨

질문

Does MATLAB mobile version have different features ?
Have anyone tried MATLAB mobile for android OS ? Does it have any different features from regular matlab software ?

18일 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
Refresh plot using switch case with dropdown menu in App designer
plot(x,y) ax = gca % get the axes handle of current plot delete(ax);% delete the axes handle Hope this works

19일 전 | 0

답변 있음
Remove a part of data and replace it with data to fit trend

19일 전 | 0

답변 있음

19일 전 | 0

| 수락됨

답변 있음
Plotting a Piecewise Function
syms x z(x) y=piecewise(x<0,0, x>0,1); z(x)=(1+(x-1).*exp(-x)).*y; fplot(z,[-3 3]) Best wishes

19일 전 | 0

| 수락됨

답변 있음
Matlab mass pendulum simulation
f1 = m*g; When computing acceleration, This term needs to be positive if I understand it correctly from law of motion.

21일 전 | 0

답변 있음
Plot the Poisson CDF with the Standard Normal Distribution CDF
x3 = -3:0.1:3 Use the same intervals as x1

21일 전 | 0

답변 있음
how to calculate inverse of modulus function
x= inv(a)*mod(1,N); Check with this

21일 전 | 0

답변 있음
data is getting plot on 4 different graphs while I would like to see all the data on one graph!
figure(1) If you use loop index for figure, then it will plot as many figures as number of files

22일 전 | 0

| 수락됨

답변 있음
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 7-by-1.
y(i,j,:)= net(double(tst')); Since the resulting matrix _tst_ is transposed, you need this

23일 전 | 0

답변 있음
Incrementing a loop for the next set of values
poweredbypv=(zeros(size(8760,24))); for j = 1: length(poweredbypv) for i=1:24 if Egenpv(i) > Eelectrolyzer poweredbypv(j,i...

24일 전 | 0

| 수락됨

답변 있음
Unexpected MATLAB Operator ':'
Step = contents{iRow,Step}; Change this line to above. You are trying to make Step as string inside the _switch case statem...

25일 전 | 0

답변 있음
Plotting a Continuous Spectrum
Try changing the values for T ,time period from 0.2 to 1. You can notice the difference whether it's continuous or appears as di...

27일 전 | 1

| 수락됨

답변 있음
Discrete transfer function show different results in Simulink and in Matlab!
Delete the ZOH (zero order hold) block and run again

30일 전 | 0

답변 있음
The data cannot be plotted because it is incompatible with the size
num=25*[0.4 1]; den=conv([0.16 1],[1 6 25]); G=tf(num,den) step(G)

30일 전 | 0