Réponse apportée
I have a text file contains a diffrent directories of video data, but now I don't know how to read those directories line by line from this text file and pass it to a function of reading video, I wish you guys can help me
It sounds like your question is less about video files and more about how to read a text file containing a list of filepaths to ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
nlinfit gives no result
In your function funexp2conv410, your line t_in = find(t==P); runs the risk of being empty, thereby causing output f ...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
how to include n = 1:25; power = 1:4:100; cg = 1:6:150; in single expression using for loop
Since all your vectors are the same length, you probably want to be using the binary operators in your equation, which includes ...

environ 8 ans il y a | 0

Réponse apportée
rand(Nuser,Ncarrier)= (b.*log(1+(rand(power).*rand(cg))/noise));
Your equation: rand(Nuser,Ncarrier)= (b.*log(1+​(rand(powe​r).*rand(c​g))/noise)​); Some observations: * _rand_ is a M...

environ 8 ans il y a | 0

Réponse apportée
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Almost the exact same question was asked here (and I already answered it there): <https://www.mathworks.com/matlabcentral/answer...

environ 8 ans il y a | 0

Réponse apportée
For which value of the scalar "b" does the (yet unspecified) function, y = f(x,b), go perfectly through the measured values?
Here is an example: f = @(x,b) x+b; % What you are asking is impossible without defining f. x = [0 1 5]; y_obs = [2 5 6]...

environ 8 ans il y a | 0

Réponse apportée
Setting up vector function
In your for loop, you are using k(k1+1). if k1 is the last element of k, then k(k1+1) will be exceeding the dimension of k. If y...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Understanding convolution, 'same' might give wrong result
Your convolution looks correct, at least for what you have done, and yes, it is partially because of the 'same' option. The othe...

environ 8 ans il y a | 1

Réponse apportée
How to assign 10 degrees (a unit to measure angle) to a variable ?
As James suggests, the following will work just fine: theta = 10; % degrees (Write a comment at the end if you want to remem...

plus de 8 ans il y a | 1

Réponse apportée
I need to have an error message for when the user inputs a letter into the a,b,c, or d inputs but im not sure how to do it, ive tried using isnan but could not figure out how to implement it into my code for it to work.
str2num will return empty if it cannot convert, so you would need to use isempty(). Alternatively, there is a second output from...

plus de 8 ans il y a | 0

Réponse apportée
Matlab not running? No errors
Be patient, it just takes a long time to display the plots. For me it took about 2 seconds for the contour functions to return a...

plus de 8 ans il y a | 0

Réponse apportée
Is this psuedocode implementation correct? (TicTacToe)
Did you implement these functions yourself? They seem to be all mixed up. For example, plotTicTacToe is asking for inputs, getMo...

plus de 8 ans il y a | 0

Réponse apportée
How can I get Matlab to display a warning when one of the temperatures is greater than 2x the other?
It depends how you would like it to display. Check out the documentation for warning(), warndlg(), etc. If you want to display t...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Can I use the if else statement to classify garment?
I am going to assume your classifications are strings. As such, you can use strcmp() or any of its related functions, as such: ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How do I do numerical summations or integrations?
The strategy here would be to start at n=1 and keep summing over n until your result no longer changes with each new addition, n...

plus de 8 ans il y a | 0

Réponse apportée
Obtaining all the indices of matached elements of one array in another
You will run into problems if there are different amounts of A which equal B. If you care to know both indicies, use something l...

plus de 8 ans il y a | 1

Réponse apportée
Unable to see Graph
Instead of using a for loop, take advantage of matlab's ability to work with vectors (don't forget the element-wise period for T...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
isa probability distribution?
By using >> whos I was able to determine that x's class is a "prob.ToolboxFittableParametricDistribution" object, such t...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How to tell Matlab to give real cube roots instead of complex ones?
This is almost certainly occurring because MATLAB is doing the math by first converting to log space so that it can just multipl...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
How to take x as a vector in for loop?
The variable x here is a for loop counter, which means it will iterate through the values given by dx:length:nx+1 and therefore ...

plus de 8 ans il y a | 0

| A accepté

Question


Is it possible to change the current folder window's default view settings in R2015a?
I'm running MATLAB R2015a on Ubuntu 14.04 and I noticed that one of the new features in Matlab is to display not only the files/...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How do I make a desktop launcher for MATLAB in Linux?
If you're using Ubuntu, see this page: <https://help.ubuntu.com/community/MATLAB>

plus de 10 ans il y a | 4