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
1.2k views
1 answer
    After I run the code in matlab, I encounter this error and unsure how to solve it. How can I solve this problem. ... abs(dIx) - abs(dIy); end See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
516 views
1 answer
    I understand that all the returned values of a mex function are stored in plhs array of type mxArray*. I want ... m-file is much appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
667 views
1 answer
    I have a figure with several plots and a legend. Is it possible to change the arrangement of the elements in ... you make a two-column legend? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
587 views
1 answer
    I am wondering how to implement IEEE-754 32-bit single precision floating point division in binary with no ... division on the mantissas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
749 views
1 answer
    I need to compute a moving average over a data series, within a for loop. I have to get the moving average ... with it? My sincerest thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
903 views
1 answer
    I'm trying to implement a rectangular pulse train in python. I searched scipy and there is no signal that ... this signal in python? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
625 views
1 answer
    I am trying to transform an image using a 3D transformation matrix and assuming my camera is orthonormal. I am ... deg']); axis square end See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
724 views
1 answer
    I have a matrix with integers and I need to replace all appearances of 2 with -5. What is the most efficient way ... = -5, which does not work. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    I'm trying to run a cmd line application from c# using Process.Start(ProcessStartInfo); The problem is, ... optional1value" etc. Thanks again. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
671 views
1 answer
    I have matrix A=[2 3 4 5 6 7; 7 6 5 4 3 2] I want to count how many number of elements have a value greater than 3 and less than 6. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
522 views
1 answer
    I am trying to plot a sine wave where the amplitude increases over time and the frequecy increases over time as well. I ... 1000,x);????????% See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
574 views
1 answer
    I've recently learned how to vectorize a "simple" nested loop in a previous question I've asked. However, now ... I vectorize that type of loop? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
505 views
1 answer
    I need to extract image patches of size s x s x 3 around specified 2D locations from an image (3 channels). ... I can't specify the locations. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    Here is a sample data frame: import pandas as pd NaN = float('nan') ID = [1, 2, 3, 4, 5, 6, ... easily load it back using another hdf5 reader? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
702 views
1 answer
    I have data = [1 1.2 1.3 1.5 1.8] I want to find closest values before and after from data for this point, b = 1.23 How do I do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
545 views
1 answer
    Is there an R timer or stopwatch function similar to MATLAB's tic/toc? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
819 views
1 answer
    We all know the matlab colon operator to create a linear sequence, i.e. 1:5 = [1 2 3 4 5] ... : corrected the statement of left associativity. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
536 views
1 answer
    How to apply a function that returns non scalar output to arrays using arrayfun? For example - How to vectorize the ... (x)(1:x),array); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
469 views
1 answer
    I have this problem that has been bothering me for quite a while.. I want to change the format of the number.. ... you can help me please do.. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
748 views
1 answer
    I=imread('cameraman.tif'); figure(1),imshow(I) I1=im2double(I); [U,S,V]=svd(I1); figure(2), ... iterations is greater than the original image. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
568 views
1 answer
    Inside a parfor loop, I am trying to call a function that accesses a global to no avail. The function function a ... . What am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
509 views
1 answer
    I know Matlab has a function called cylinder to create the points for a cylinder when number of points along ... cylinder? Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    For an user interface I'm programming an uitable. The user chooses an option A,B or C in the first column and ... table and not just one row. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    I'm having a bit of trouble understanding how axis-angle rotation vectors are used when rotating a vector ... the transposed rotation matrix. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    I have a matrix and a vector each with 3000 rows: fe = [-0.1850 -0.4485; ... -0.2150 2.6302; . ... How can I implement each of these solutions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
730 views
1 answer
    Say I have the following matrix: A = randi(10, [6 3]) 7 10 3 5 5 7 10 5 1 6 5 10 4 9 1 4 10 1 And ... :i+step-1, :); counter = counter + 1; end See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
862 views
1 answer
    accumarray()'s val argument must be a vector. In my case I need columns of a matrix to be summed (or averaged). Is ... (labels', X(:,iCol)); end See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
641 views
1 answer
    My main goal is to show that the convolution theorem works (just a reminder: the convolution theorem means that ... the casting or the padding? 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

...