Community Profile

Contact

Top 1% contributor

Hi, I have used matlab for a long time and always liked it. That to say until version 2014b. This version seems to have sever...

3 Answers

1

Asked 2 years ago

There is 2 types of logical operators for some operations in matlab. For and can you use either |&&| or |&| to operator on scala...

accepted

2

Answered 2 years ago

Hi, I wonder how a |try-catch| block is evaluated in matlab. In particular, is the |try-catch| block evaluated in runtime or com...

2 Answers

Hi, I just ran the profiler on a function and was quite surprised. EDIT: New run function outputVector = addAndReplace(i...

0

Hi, The plot function have a set of 7 colors that are predefined and can be added as plot(any_x,any_y,'r'); There are...

I just found an answer to the problem, but I still wanted to publish this question to raise the problem. I would not be able to ...

It is always possible to go the long way around here. a = {11.741667 3.913892 14.488700 8.746350 0.349066}; str = cellfun(...

Ok this seems to give some chaotic pattern. t = 0:0.01:2*pi; w2=linspace(0,20,length(t)); w1=4*w2; m=w1.*t; n=w2.*t; x...

This is a fully vectorized operation. And it should be quite efficient. Requires making 2 matrices however. a = [1 2 0 0;3 ...

In matlab the naturlal number e is not defined. It is still a variable. You can try by just typing e. Instead of using you just ...

Ok I am still not sure what you meant but I think I have an idea. If you want the mean viscosity for each temperature, for every...

Hi, I have noticed something strange. It have most likely to do with the fundamental structure of matlab. What I wonder is if th...

Hi, during my work with matlab I have noticed that matlab always tries to improve some basic functionality of other programming ...

The solution to this problem comes from the mathematical limit. 1/0 = inf is really a bit sloppy. If you remember how this was i...

Hi, I wonder if anyone have an idea about the character #. It appears to have no use in matlab and it can neither be used in ...

1 Answers

Asked 1 year ago

Hi, I a question about how structs are handled when they are used as input arguments to functions. I know about "copy on write",...

Hi, guide is an excellent way to create a gui i matlab, but due to the large amount of code generated it get a bit slow and also...

Hi, I have got this really strange error in matlab. When I try to run the command save(fullfile('filepath','filename'),'...

Hi, I have a cell array that contain a number of different sized matrices. I need to multiply each of these cell elements, where...

Hi, I have a problem with calculating the laurent series expansion in matlab. The problem is that when I call the function se...

Asked 3 years ago

Hi, I have a function that prints a line in the command window every time it is run. This function is run for a different num...

Hi, I have a serious issue in matlab. I have 2 vectors v1 and v2 and length(v1) = 1376872, length(v2) = 1350228. Vector v2 co...

Hi, I have been wondering about how to create a custom colormap, with a dynamic range similar to the default colormaps in MAT...

Hi, I have saved some .eps files using MATLAB's saveas function. However, when I try to insert them in powerpoint the resolut...

Hi, when I try to save a figure in .eps format the figure gets distorted. The output is nowhere near the expected result. It see...

You can use repmat t0 = [1,0,0,1]; % [00.00, 01.00, 02.00, 03.00] t1tmp = repmat(t0,10,1); % repeat rows 10 times t1tmp =...

I have been trying a little and found out a way to do this. I found that the function to use is <http://www.mathworks.se/help/ma...

It is possible, but not trivial. Matlab figures is a one type of gui. For these there are some defined processes that can do wha...

Ok, I assume that the example "a=[1 1 2 4 5 1 1 1]; than the answer should be b= 1 3 1" had a typo and that you want to randomly...

Since the type of the date is only vaguely specified I will select one. A = {'01/01/2014', 1.2345;'03/01/2014', 1.2345;'04/...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries