Community Profile

photo

Mohammad Sami


Last seen: 1일 전
170 2014 이후 총 참여 횟수

Mohammad Sami's 배지

  • 6 Month Streak
  • Revival Level 2
  • Knowledgeable Level 3
  • First Answer
  • Speed Demon
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
APP DESIGNER. How can I use a variable generated by one function in another funcion?
You need to create an app property dicom_files to store the values in. Change to code view, click the property button, click p...

3일 전 | 1

| 수락됨

답변 있음
Error when using convolution2dLayer between connected maxPooling2dLayer and maxUnpooling2dLayer
You convolution layer is changing the number of channels in the output after the max pooling. This causes the input size mismat...

12일 전 | 0

| 수락됨

답변 있음
3D plot from tables in timeline
Based on my understanding each file 'data1.txt' is from one particular time Different number of rows means, you are missing cer...

16일 전 | 0

| 수락됨

답변 있음
Filling out an empty column in an existing table based on conditions matching other columns
% t1 = yourtable logic1 = startsWith(t1.column3varname,'fast') & startsWith(t1.column4varname,{'boat' 'car' 'airplane'}); logi...

17일 전 | 0

| 수락됨

답변 있음
How do I convert this for loop in to while loop with same sequence of number.
x = 0; while x <= 50 disp(x); x = x + 2; end

18일 전 | 0

답변 있음
Why the user was asked to install Matlab runtime for my standalone application?
You may have distributed the compiled exe rather then the installer. When compiling an App three directories are generated. for...

18일 전 | 0

| 수락됨

답변 있음
how to do normalization of a matrix
You can use the function normalize and specify which dimension you want to normalize. From the documentation "N = normalize(A...

24일 전 | 0

| 수락됨

답변 있음
How to rename multiple files in a folder with variable names depending on their names in another folder?
You dont need the *. you can do as follows. match = regexp(oldnames,'3\d{3}','match');

28일 전 | 0

| 수락됨

답변 있음
How to turn on the grids of axes upon start?
Use the function grid to turn off the grid. You can do this in the startup function as Rik mentioned grid(handles.axes1,'off');...

29일 전 | 0

답변 있음
Fastest way to replace multipe substrings with a single new string?
After some experimentations I think that if you tokenize your sentences, you can use a hashmap to lookup the words to replace. ...

29일 전 | 0

답변 있음
Referring to specific input in loop
If you want to have variable number of arguments, perhaps you want to use varargin instead in your function signature. function...

약 1달 전 | 0

| 수락됨

답변 있음
Example of MatLab code that can read XGMML (.gr.gz) extension file?
This file appears to be a text file which gzip compressed. You can extract the file with function gunzip and then perhaps load ...

약 1달 전 | 0

| 수락됨

답변 있음
How to alternatively cut a signal into segments of different sizes
You can use reshape to extract the signals % Incorrect : prb2 = reshape(prb,14*2048,2,[]); % Correction prb2 = reshape(prb,14...

약 1달 전 | 0

| 수락됨

답변 있음
How to generate 500 random string keys in matlab?
You can use the randi function to generate integers corresponding to the ascii values you want to allow in your random string. ...

약 1달 전 | 0

답변 있음
How to make an Edit Text Field box in App Designer to recognize a vector input
The text field are designed to take in string inputs. It will return you whatever data is entered as string. If you want to int...

약 1달 전 | 0

| 수락됨

답변 있음
calling a c function with calllib doesn't work with pointers
It will not return you 3 different values, it will return you pointer to an array containing 3 double values. Also you need to ...

약 1달 전 | 1

| 수락됨

답변 있음
Change dimensions of 2d data
You can use the imresize function to scale the image up or down. a = rand(3281,3164); b = imresize(a,0.91024);

약 1달 전 | 0

답변 있음
save workspace variable dynamically
I am not exactly sure what is it you are trying to do, but I assume you want to save a file where the variable names are the tic...

약 1달 전 | 0

| 수락됨

답변 있음
How can I input time series image data in the Deep Learning Toolbox?
For working with sequence of images, you can use the sequence folding layer. An example is included in the documentations. http...

약 1달 전 | 1

| 수락됨

답변 있음
Calling a functions fieldname without saying its name.
You can use the function fieldnames and a for loop %s = somestruct f1 = fieldnames(s) for i = 1:length(f1) fn1 = f1{i}; ...

약 1달 전 | 0

| 수락됨

답변 있음
How to use "hold", or similar function, with Geobubble?
geobubble allows for size and color to be specified as variables. You can concatenate your data in one table, and use the size a...

약 1달 전 | 1

답변 있음
Auto Image Reading and Resizing
If you have deep learning toolbox, this can be easily acheieved with the augmented Image Data Store. https://www.mathworks.com/...

약 1달 전 | 0

답변 있음
How can I vectorize these for loops?
What you are trying to do is 2D convolution. There is a function conv2 that will allow you to do this. m = ones(50); filter = ...

약 1달 전 | 1

| 수락됨

답변 있음
Updating values in array based on index vector
One of the ways is to convert your subscript to linear index and then do the assignments. ind = sub2ind(size(A),x,y); A(ind) =...

약 1달 전 | 1

| 수락됨

답변 있음
How to Automatically Shorten an Array so the number of Rows/Columns is divisible by 3
you can just calculate how many vectors you need to delete. somevector = rand(10000,1); s = 3; shortvector = somevector((end-...

약 1달 전 | 0

| 수락됨

답변 있음
How to save (serialize) MATLAB variables to a byte string?
There is an undocumented function called "getByteStreamFromArray" which converts a matlab object to bytestream. To convert it b...

약 1달 전 | 1

| 수락됨

답변 있음
How to calculate it in Matlab?
You have two options. First option is to use symbolic sum "symsum" if you have symbolic math toolbox. syms y; N = 10; F1 = s...

약 1달 전 | 0

답변 있음
How can I reflect a signal on Y-Axis?
You can multiply the reflection matrix with 2xn matrix of x,y coordinates. x = [0 1 2 3 4 5]; y = [0 1 2 3 4 5]; reflectionma...

약 2달 전 | 0

| 수락됨

답변 있음
text on image position
What if you used the limits of your axes and then create a relative x and y position. axes(handles.axes1); imagesc(v(:, :, z))...

약 2달 전 | 0

답변 있음
deep learning_alexnet
You have specified the image as single channel in your code. just change it to 3 channels (RGB). imageInputLayer([imageSize 1]...

약 2달 전 | 0

| 수락됨

Load more