Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged MATLAB

0 votes
680 views
1 answer
    I have a grayscale image, and need to increase its resolution. How can this be done in MATLAB? Would it ... of the image for instance? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
577 views
1 answer
    I have converted my image into a mask and I would now like to obtain what the original colours were given this mask ... = originalImage(:,:,1); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
751 views
1 answer
    Is it possible to vectorize a loop that goes through different index mappings? For example: a = zeros(1, 5); ... be done without the for loop? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    I have several 2D-plots in MATLAB. In each plot there are some lines (each line is a row-vector of values ... how to create its legend? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
723 views
1 answer
    Let me elaborate with examples: We know how to easily combine functions with a single output: a = sin( ... to the second function separately. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
847 views
1 answer
    I have been trying to find the max value from an array. But I keep getting the following error. Please ... ?? Index exceeds matrix dimensions. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
751 views
1 answer
    I have computed an image with values between 0 and 255. When I use imageview(), the image is correctly displayed, ... ): Can some one help me? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
947 views
1 answer
    Is there an elegant way in Matlab to get the output of normxcorr2 cropped to the size of the image ... image argument before running normxcorr2. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    I would like replicate a vector N times to create a matrix with each copy shifted 1 row down. See image (first ... create an N x 5 matrix. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
700 views
1 answer
    In MATLAB, I have a set of P numbers. I would like to generate a random array of size N from this set. For ... I am missing a simple hint here. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
780 views
1 answer
    I'm trying to locate the locations of one of the equations in a system of differential equations in MATLAB.I'm trying to ... 3,1) = 0. Thank you See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
731 views
1 answer
    I have an array which looks similar to: 0 2 3 4 0 0 7 8 0 10 0 32 44 47 0 0 37 54 0 36 I wish ... 54 10 36 How can I remove all zero columns? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
718 views
1 answer
    First of all it is really hard for me to describe the problem really good but I'll try. Say that ... functions that uses parallel processing. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
574 views
1 answer
    x=[0:.01:10]; y=(x.^2).*(exp(-x)); plot(x,y), grid y1=max(y); xlabel('TIME'); ylabel(' ... time at when y=0.3 please assist thank you See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
738 views
1 answer
    I need to change my loop variable inside the iteration as I have to access array elements in the loop which is ... I accomplish this in Matlab? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
760 views
1 answer
    I'm trying to plot some data with respect to minutes instead of seconds in Matlab as formatted time, i.e. ... from the serial port. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
868 views
1 answer
    I need to generate a fixed number of non-overlapping circles located randomly. I can display circles, in this case 20, ... [1,1,1]) Thank you. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
735 views
1 answer
    Given a vector a=[1,2, 3.2, 4, 5] and an element x=3 In vector a, how to find the exact entry which is bigger than x? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
797 views
1 answer
    Is there anyway to declare variables immune to clear all in MatLab? One solution I thought of was saving the ... much, but you never know. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
717 views
1 answer
    How can I compute the summation of an interval. I will use Matlab's code for eg. data=[1;2;3;4;5;6;7;8; ... I get about this? (Using for loop) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    I need to plot a x-y function, that shows the histograms at x-values. Something similar to the bottom plot of ... I do that for barh? thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    I have one matrix like below- A=[1 1 1 1 1; 0 1 1 1 2; 0 0 1 1 3] But I want to place all ... How can I do this? Matlab experts please help me. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
653 views
1 answer
    By "practically equivalent", I mean that their distances are of order epsilon apart (or 0.000001). Equality in MATLAB ... size(A1) != size(A2) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
690 views
1 answer
    I need to reproduce the normalized density p(x) below, but the code given does not generate a normalized PDF. clc, ... . pdf = pdf/sum(pdf); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
741 views
1 answer
    So lets say I have black & white image that is read with imread() command and saved into matrix A. I want to ... I need to do this in MATLAB. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
773 views
1 answer
    My query is string = 'Alligator in water' where in is a stop word. How can I remove it so that I get ... like to remove all possible stop words. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    I have 3D data plotted using the 'plot3' function. I would like to constrain the Y and Z axes such that ... Z axes are equivalent in scale. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
678 views
1 answer
    I want to find the function in R which does the same as the function size in Matlab. In Matlab, if A = [ ... solve this problem. Thanks a lot. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.9k users

...