עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

הפחתת זמן החישוב במתלב

Featured Replies

פורסם

כיצד אפשר לקצר את זמן החישוב בלולאה הבאה:

row=size(p,1); % the size is 32,000 rows!
for k=1:row
m=p(k,;
x=0:(length(m)-1);
f=fittype('a+b*exp(c*x)','independent','x');
[cfun,gof,output]=fit(x',m',f,'startpoint',[1 2-1]);
C(k)=cfun.c;
end

זמן החישוב עומד על חצי שעה!

האם יש אלגוריתם קצר יותר?

איך אפשר לנצל את כל הליבותבמהלך החישוב? האם אפשר לחלק את העומס על כל הליבות?

ברשותי שרת IBM x3550 עם 8 ליבות OS Unix Red Hat

פורסם

כן.

תשתמש בparfor

אבל שים לב שאתה צריך להגדיר עוד CLIENTים של מטלב ע"י matlabpool (תחפש בעזרה של parallel computing toolbox)

בהצלחה

פורסם

כן.

תשתמש בparfor

אבל שים לב שאתה צריך להגדיר עוד CLIENTים של מטלב ע"י matlabpool (תחפש בעזרה של parallel computing toolbox)

בהצלחה

תשמשי... שימי לב... צריכה...

סליחה :)

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.