![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7507885_1531061263556_DEF.jpg)
Hussein Ammar
Followers: 0 Following: 0
Feeds
질문
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 ...
거의 4년 전 | 답변 수: 1 | 0
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)
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)
거의 4년 전 | 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...
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...
거의 4년 전 | 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...
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...
거의 4년 전 | 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...
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...
거의 4년 전 | 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...
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...
대략 4년 전 | 0
답변 있음
How to display an error if a file doesn't exist
if ~exist('myFileName.EXTENSION','file') disp('Requested file was not found.') end
How to display an error if a file doesn't exist
if ~exist('myFileName.EXTENSION','file') disp('Requested file was not found.') end
대략 4년 전 | 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...
대략 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 5년 전 | 답변 수: 1 | 0
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(...
거의 5년 전 | 답변 수: 1 | 0
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 ...
대략 5년 전 | 답변 수: 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 ...
대략 5년 전 | 답변 수: 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...
대략 5년 전 | 답변 수: 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...
거의 7년 전 | 답변 수: 3 | 0