Community Profile

photo

jason lee


Last seen: mer än 3 år ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 3

View badges

Content Feed

View by

Question


How to use MATLAB to determine if an exe process exist?
i want to use MATLAB to determine if 'mspaint.exe' is running on the system and return the status. How could i complish this wi...

mer än 3 år ago | 1 answer | 0

1

answer

Question


how to print figure in jpg without white margin
x = 0:pi/5:2*pi; y = sin(x).*exp(-x); figure('Visible', 'off', 'PaperUnits','centimeters', 'PaperPosition', [0 0 32 8]) plot(...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Fault Tree Analysis in MATLAB
this shows a demo fault tree. the goal is to calculate the top-event '1' 's probability of failure given '3','4','5','6','8',...

mer än 3 år ago | 1 answer | 0

1

answer

Question


fopen syntax, a new usage???
i found a usage of fopen which is not found in MATLAB documentations here is my code s = 'name'; fileID = fopen([s,'.txt'],'w...

mer än 3 år ago | 1 answer | 0

1

answer

Question


create txt files with specific names
i want to create a series of txt files with predefined char names. here is my code s = {'RSN1','RSN2','RSN3'}; for i = 3:1:1 ...

mer än 3 år ago | 1 answer | 0

1

answer

Question


preallocate memory for a struct in a for loop
here is my code: for i = 1:size(filename,1) spectra(i).name = filename(i,1:end-4); spectra(i).value = readmatrix(file...

mer än 3 år ago | 1 answer | 0

1

answer

Question


issue about ismember wrong output
a=0.02:0.02:2; b=0:0.01:5; ismember(a(6),b) ans = logical 0 But it is clear that all elements in a belong to b, s...

ungefär 4 år ago | 1 answer | 0

1

answer