Community Profile

Contact

Top 1% contributor

Try list=dir() all the file names under the specific folder will be listed and stored in the variable list

accepted

1

Answered 1 year ago

I think this could be set in the component Section Title Properties, but I am sure how to make it. Could anyone help?

3 Answers

Asked 2 years ago

When you try to define X_11(i+1), there is X_11(X_11*Y(1)*b_1_j) on the right side. You have to change X_11 to X_11(i) or some o...

Answered 2 years ago

For legend. suppose the GUI has 6 axes for i=1:1:6 legend_pre=get(legend(eval(strcat('handles.axes',num2str(i)))),'String'); end...

24798 views

Responded 2 years ago

I'm wondering whether it is possible to create shortcuts on the toolbar by commands. I am going to release my GUI and I hope any...

0

Asked 12 months ago

a=200 b=bitshift(a,-3) c=dec2bin(b,8)

2

The jpg or bmp figure displays well if I open it outside matlab. But if I implement imread()and image() to display the image ...

2 Answers

Asked 1 year ago

1. xlswrite('testdata',x-axisCordinates') ,"'" to convert to a nx1 array 2. You can specify the range ('C1:C5') xlswrite(fi...

Answered 8 months ago

# Save the string to workspace or setappdata # You can create a handle in the opening function of GUI1 to dectect whether GUI1 ...

Answered 9 months ago

Just wanna let you know. I resolved this issue by using fid=fopen(filename,'wt') Instead of fid=fopen(filename,'w'...

Answered 11 months ago

Currently, I can only generate a txt file by fprintf(). Then I have to copy and paste the content from the txt file to a .ats. ...

1 Answers

I'm not quite sure about your issue. In general, if you want to assign a value to a parameter in a masked subsystem, add it as ...

function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata re...

# Import data to Matlab by implementing xlsread() # Create a cell variable and assign all the n*3 data to the cell variable

# Obtain the equation of the plane # If the point (x,y,z) satisfy the equation, the point is on the plane. I don't think you ca...

Fig. 2 in the help document describes the equation of the DC motor.

A(2,2)=12; A(3,3)=13;

I've tried your codes with Matlab 2013a and it works well. What's your current release of Matlab?

Try remove the selections codes from the opening function to other callback functions And try get(handles.method_popup, 'V...

I've fixed it by adding a text component with only carriage returns at the end of each section, but I don't think it's a good so...

x='-0.134635523018792';

I think the problem may result from the cell variable temp. You can try: temp = cell2mat(textscan(fid, '%f, %f, %f')); C...

double(cell2mat(v))

for n=1:9 and for m=1:9

Y(c+1) = (X(c+1)+X(c+2))/(constant) + Y(c); Also, actually, you don't need the parameter i.

The dimention of Matrix A is 1*135 and the dimention of inv(t) is 135*135. I don't think it's Ok for inv(t)*A. I'm not sure wha...

if (t>=0&&t<=1) y=x; elseif (t>1&&t<=2) y=3*x; else end

b=1; d=2; p=3; c=rand(10); for i=1:length(c) a(i)=1+c(i)*d*(p-1)/b; fprintf('a=%d c=%d\n',a(i),c(i)) en...

General model: f(x) = 1 - 0.5584*exp(-a*x) - 0.4416*exp(-b*x) Coefficients (with 95% confidence bounds): ...

u2(n+1) = uc(n); u3(n+1) = uv(n); u4(n+1) = ut(n); u5(n+1) = ui(n); h = u5(n+1); But it seems y...

Load more