답변 있음
Monte Carlo simulation for probability of a multi part machine working
Hello Petch, First of all, check the help of randi. You can type help randi from the command line window of matlab. You didn't ...

거의 5년 전 | 0

답변 있음
How can i lock editor window?
Change your file to be readonly, then you won't accidentally modify your file. Always keep a copy of the working file.

거의 5년 전 | 0

| 수락됨

답변 있음
I have a problem saving data
Do you have write permission to that folder? If not, try cd to another folder and save there.

거의 5년 전 | 0

답변 있음
How to mark different plots within the same loop?
https://www.mathworks.com/help/matlab/creating_plots/create-line-plot-with-markers.html

거의 5년 전 | 0

답변 있음
How to use if statement for than one variables?
You meant this? if a(ii)==0 b(ii)=1; c(ii)=0; elseif a(ii)==1 b(ii)=0; c(ii)=0; elseif a==2 b(ii)=...

거의 5년 전 | 0

답변 있음
How can I calculate carnot factor of a fractal tree ?
Hints: Try to understand what function rotate is doing. Pay attention to those three lines between if and end. Try to understa...

거의 5년 전 | 0

| 수락됨

답변 있음
Connect to remote shared matlab session from python/C++
My understand is that python doesn't connect to a matlab session. Instead, python is calling functions/sevices from matlab runti...

거의 5년 전 | 0

답변 있음
acceleration function not working in script?
In general, the debugger shall be able to show you the reason. Just run your Untitle2.m using the matlab debugger, and put a bre...

거의 5년 전 | 0

답변 있음
How can I define the angle of the fractal tree and not the axis ?
20 in your code is the angle you want. Your rotate function can be enhanced to take one more argument to control that. functi...

거의 5년 전 | 0

| 수락됨

답변 있음
Unable to resolve the name matlab.engine.start_matlab.
Those two lines of code shall be run in python. Use a command line window from MacOS, and type python to start. Then type those...

거의 5년 전 | 0

답변 있음
how to code this system block diagram
This seems to be a problem very specific to the course you are taking? If so, you might want to start with your teacher/instruct...

거의 5년 전 | 0

답변 있음
How to increase speed of this code
Hello Asha, matlab provides profile for this purpose. (https://www.mathworks.com/help/matlab/ref/profile.html). Try it please....

거의 5년 전 | 0

답변 있음
merge two arrays into one
Not sure what you really want. If those two arrays have the same length at the time, and if the ith element of one array is no...

거의 5년 전 | 0

답변 있음
getting error in line 5 please help
Use the matlab debugger. It will tell you what error it is.

거의 5년 전 | 0

답변 있음
Error using loadlibrary --- fatal error: cstdint: No such file or directory
This header file requires C++11.

거의 5년 전 | 0

답변 있음
How to fix number of iterations?
Try help wavefun on command line window to see the help for this function. The ITERis used as 2^ITER.

거의 5년 전 | 0

답변 있음
can any one help on this i dont know how to solve it !!
Time to learn how to use the matlab debugger? https://www.mathworks.com/help/matlab/matlab_prog/debugging-process-and-features...

거의 5년 전 | 0

답변 있음
AbstractPolicy.m debug warning
Hello kloner, Basically it means that 'this' can not be an array. It must be a scaler. As explained in the comment, if you have...

거의 5년 전 | 0

답변 있음
how to find length of binary image?
How about reading in the image, and then find its size: https://www.mathworks.com/matlabcentral/answers/81089-finding-the-dimen...

거의 5년 전 | 0

답변 있음
Save double vector in text file
How about write it as a matrix to a CSV file? https://www.mathworks.com/matlabcentral/answers/281156-how-can-i-export-a-matrix...

거의 5년 전 | 0

답변 있음
Invalid MEX-file libopencv_core.so.2.4: cannot open shared object file: No such file or directory
Two things to try. On linux, ldd is a very useful tool. Try ldd rodriguesMex.mexa64. This will tell you if all the symbols can ...

거의 5년 전 | 2

| 수락됨

답변 있음
How to get the one by one value of array using variable?
Hello Aqeel, You want this, right? node=[9 44 5]; [m,n]=size(node); for i=1:m for j=1:n tmpVar = node(m, n)...

거의 5년 전 | 0

| 수락됨

답변 있음
for loop only shows the value of last iterations
Hello Han Xia, You want P1 to be an array, right? How about this? Po = 101325; V = 12000; E = V .* (3.5.*10.^6); Z = [25 50...

거의 5년 전 | 0

| 수락됨

답변 있음
Supported version of MATLAB python engine
Hello Malte, As for your first question, when MATLAB Python Engine was developed, python 3.8 might not be released yet. Then it...

거의 5년 전 | 0

답변 있음
Installing MATLAB Engine API for Python
Hello Makis, The error message suggests that the verions of MATLAB Engine is not compatible with the local python on you macboo...

거의 5년 전 | 0

답변 있음
control the threshold of random numbers
Hello abdul, Both rand and randi generate uniformly distributed pseudorandom numbers. Now you want something not uniformly dist...

거의 5년 전 | 1

답변 있음
how to save the matrix iteration results?
Please try this: https://www.mathworks.com/matlabcentral/answers/75936-is-there-any-way-to-create-array-of-arrays-or-matrix-of-...

거의 5년 전 | 0

답변 있음
how to print the data that we collect using structure and loop
Hello Prateek, A simple way to print out the struct. Just get rid of the ';' at the end of the line. function details = my...

거의 5년 전 | 0

답변 있음
Python fails to load after installing via (zsh's) pyenv (Python, R2018b, macos)
Hello Pete, Python path is different from the environment variable PATH. It is PYTHONPATH. Try to set PYTHONPATH instead. Than...

거의 5년 전 | 0

더 보기