Ahmed Rashid
Chalmers Tekniska Högskola
Followers: 0 Following: 0
Feeds
답변 있음
writetable() has write permission problems when run as scheduled task; save() does not
The error might also occur if the folder, in which the file is supposed to be save, does not exist.
writetable() has write permission problems when run as scheduled task; save() does not
The error might also occur if the folder, in which the file is supposed to be save, does not exist.
대략 4년 전 | 0
답변 있음
When I use edit the dialog box don't show.
Go to Preferences>Matlab>General>Confirmation dialog Check the Prompt when editing files that do not exist
When I use edit the dialog box don't show.
Go to Preferences>Matlab>General>Confirmation dialog Check the Prompt when editing files that do not exist
거의 8년 전 | 0
| 수락됨
답변 있음
How to speed up this loops?
You can create a mex function of your firstTestFunct by xx = 1; codegen firstTestFunct -args {xx, xx, xx, xx} You ne...
How to speed up this loops?
You can create a mex function of your firstTestFunct by xx = 1; codegen firstTestFunct -args {xx, xx, xx, xx} You ne...
거의 8년 전 | 0
| 수락됨
답변 있음
save a m*n cell file as n text files
a = rand(1000, 100); for k = 1:100 fileID = fopen(['data', num2str(k), '.txt'],'w'); fprintf(fileID,'%f\n...
save a m*n cell file as n text files
a = rand(1000, 100); for k = 1:100 fileID = fopen(['data', num2str(k), '.txt'],'w'); fprintf(fileID,'%f\n...
거의 8년 전 | 0
| 수락됨
답변 있음
format of output in command window
You can use syms K A = (36.0801*1.1462-181.04*(-.13341-.05423*K))/36.0801; d = 5; % decimal accuracy; vpa(A,d)
format of output in command window
You can use syms K A = (36.0801*1.1462-181.04*(-.13341-.05423*K))/36.0801; d = 5; % decimal accuracy; vpa(A,d)
거의 8년 전 | 0
| 수락됨
답변 있음
Problem with input command
Hello, It works as intended here. I run it on a Windows machine (Windows 10). You can maybe try it on another computer. I...
Problem with input command
Hello, It works as intended here. I run it on a Windows machine (Windows 10). You can maybe try it on another computer. I...
거의 8년 전 | 0
답변 있음
Integral of controllability gramian
Why don't you check the rank of the controllability matrix? C = rank([B AB A^2B ... A^(n-1)*B]) If C has full rank, then...
Integral of controllability gramian
Why don't you check the rank of the controllability matrix? C = rank([B AB A^2B ... A^(n-1)*B]) If C has full rank, then...
거의 8년 전 | 0
답변 있음
Why does my fft2 only use 1-3 instead all my 8 cores?
You can set the maximum number of threads using the command maxNumCompThreads(number_of_threads) If you want to see how ...
Why does my fft2 only use 1-3 instead all my 8 cores?
You can set the maximum number of threads using the command maxNumCompThreads(number_of_threads) If you want to see how ...
거의 8년 전 | 0
답변 있음
averaging many images for every pixel - recursively.
X = imread('peppers.png'); nrOfImages = 30; % assuming that you have the images in a cell array images = cel...
averaging many images for every pixel - recursively.
X = imread('peppers.png'); nrOfImages = 30; % assuming that you have the images in a cell array images = cel...
거의 8년 전 | 0
답변 있음
What are the ways to generate dll files in matlab(2013b), for further use in CANoe?
If you would like to have the dll to run as a standalone dll, i.e. no dependency on the Matlab runtime, you must go with Matla...
What are the ways to generate dll files in matlab(2013b), for further use in CANoe?
If you would like to have the dll to run as a standalone dll, i.e. no dependency on the Matlab runtime, you must go with Matla...
거의 8년 전 | 0
답변 있음
Measure Sum of column if statements are true
a = [1 1 2 1; 2 2 3 1; 1 1 2 -1; 2 2 1 -1; 3 3 2 1; 1 2 3 1; 1 2 1 -1]; uniqueIds = unique(a(:, 1)); nrOfUniqueI...
Measure Sum of column if statements are true
a = [1 1 2 1; 2 2 3 1; 1 1 2 -1; 2 2 1 -1; 3 3 2 1; 1 2 3 1; 1 2 1 -1]; uniqueIds = unique(a(:, 1)); nrOfUniqueI...
거의 8년 전 | 0
| 수락됨
답변 있음
Error when trying to run multiple instances of Simulink model in rapid accelerator mode?
I fixed the problem by generating a separate slprj file for each instance. You can control the generation of the folder with th...
Error when trying to run multiple instances of Simulink model in rapid accelerator mode?
I fixed the problem by generating a separate slprj file for each instance. You can control the generation of the folder with th...
거의 8년 전 | 0
| 수락됨
답변 있음
How to add a wrapper function written in C to a dll generated with the Matlab Coder?
I fixed the problem using Visual Studio instead. If the dll needs to be used in Labview do not dynamicaly allocate memory insi...
How to add a wrapper function written in C to a dll generated with the Matlab Coder?
I fixed the problem using Visual Studio instead. If the dll needs to be used in Labview do not dynamicaly allocate memory insi...
거의 8년 전 | 0
| 수락됨
질문
How to add a wrapper function written in C to a dll generated with the Matlab Coder?
I have the function in Matlab function y = foo(x) y = 2*x; end where _x_ is an array with a dynamic size. I have ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
What is the most efficient way to export data from Simulink?
There are different options to export data from Simulink, such as data logging, To Workspace block, To File block etc. Which one...
대략 8년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
대략 8년 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
대략 8년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 8년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
대략 8년 전
문제를 풀었습니다
radius of a spherical planet
you just measured its surface area, that is the input.
대략 8년 전
질문
Error when trying to run multiple instances of Simulink model in rapid accelerator mode?
When I run the model on one instance of Matlab in rapid accelerator mode, it just works fine. I can also run the model by openin...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is it possible to have a vector input to a Simulink if-statement block?
I am working on vectorising my model and I got stuck when I tried to vectorise the if-statement block. I wonder if it is possi...
거의 9년 전 | 답변 수: 1 | 0