Community Profile # Hussein Ammar

Last seen: 約1年 前 2017 年からアクティブ

#### 統計

• • • • • • バッジを表示

#### Content Feed

Why parfor cannot handle this
Hello all, I have faced an issue when using parfor, and I would like to know why parfor cannot handle such logic. My aim from ...

### 1

How to add to create matrix by combining two columns
Use horzcat, e.g., A=[1;2;3]; B=[4;5;6]; C= horzcat(A,B)

3年以上 前 | 0

problems with fmincon, how to solve?
Your problem is convex, so you can use the CVX package if you want. Also, the solution should be the global minimum; not a local...

3年以上 前 | 1

| 採用済み

passing arguments to a function
One way of doing this is to pass an empty argument, e.g., mySum([], 2) or mySum(2, []). So, you can add the following conditions...

3年以上 前 | 1

| 採用済み

Right and Bottom Edge Cases Causing Issues in Matrix Transformation: Blur Image Assignment
Hello, why don't you use the following: function [output] = blur(img, w) img = im2double(img); % Convert uint...

3年以上 前 | 0

| 採用済み

Table Variable Name "X_|P|" works on my computer.....does not work on anyone elses
This may be related to the version of the Matlab. You may find your answer here. https://www.mathworks.com/matlabcentral/answer...

3年以上 前 | 0

How to display an error if a file doesn't exist

3年以上 前 | 0

Running parallel pools more than CPU physical cores
Dear all, I was wondering if running parallel pools more than the number of dedicated physical cores can make a simulation fast...

3年以上 前 | 0 件の回答 | 0

### 0

fmincon step size and speed
Hello all, I'm using fmincon to solve a nonconvex optimization problem. Mainly my problem is optimizing some function over a 2D...

### 1

Weird numerical integration behavior
Hello all, Please check this simple example: d1 = 8; d2 = 1.4142; apPDF = @(x1) (1./sqrt(2*pi)) .* exp(-power((d2.*x1./sqrt(...

### 1

Faster numerical integration for vector functions
Dear all, I have an algorithm that has a for loop which contains double numerical integartion. Matlab provides integarl2 with ...

4年以上 前 | 1 件の回答 | 0

### 1

integral2 global error test
Hello all, I'm using integral2 to evaluate a complex function inside a for loop, so integral2 is being used many times for the ...

4年以上 前 | 0 件の回答 | 0

### 0

Is this a bug? And if not, why it is defined like that
Hello all, I was wondering why this should happen: clear all N = 10; Q = 9; K = 50; K *(2 + floor(1/N)) >Output: Error...

4年以上 前 | 1 件の回答 | 2

### 1

Running long simulations on Matlab Online
Hi all, I have Monte-Carlo simulations that take hours to finish (~ 17 hours). I was using a Desktop in my university Lab for...
{"ft_lang_label":"__label__en","ft_lang_prob":0.6654321,"math_prob":0.77376884,"size":3689,"snap":"2023-40-2023-50","text_gpt3_token_len":1212,"char_repetition_ratio":0.09036635,"word_repetition_ratio":0.45941806,"special_character_ratio":0.2914069,"punctuation_ratio":0.19497608,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95990545,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,3,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-06T16:37:08Z\",\"WARC-Record-ID\":\"<urn:uuid:e28f5c51-1920-4d2f-9c8d-c15cd618ac36>\",\"Content-Length\":\"105790\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7b7aed9c-8fe0-47cf-b80b-8a649a8a18c8>\",\"WARC-Concurrent-To\":\"<urn:uuid:57fd48bf-46e9-495f-bdc8-30a20fa9577f>\",\"WARC-IP-Address\":\"104.108.96.151\",\"WARC-Target-URI\":\"https://jp.mathworks.com/matlabcentral/profile/authors/7507885\",\"WARC-Payload-Digest\":\"sha1:MEBVH3S34J3PFDS7KZEISBPYMXSFHV34\",\"WARC-Block-Digest\":\"sha1:7V2SICBVWMMP22CQXCKKKOYNRR5GIMGB\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100602.36_warc_CC-MAIN-20231206162528-20231206192528-00626.warc.gz\"}"}